@@ -20,6 +20,30 @@ with haskellLib;
20
20
21
21
self : super :
22
22
{
23
+ # Hackage's accelerate is from 2020 and incomptible with our GHC.
24
+ # The existing derivation also has missing dependencies
25
+ # compared to the source from github.
26
+ # https://github.com/AccelerateHS/accelerate/issues/553
27
+ accelerate =
28
+ assert super . accelerate . version == "1.3.0.0" ;
29
+ lib . pipe super . accelerate [
30
+ ( addBuildDepends [
31
+ self . double-conversion
32
+ self . formatting
33
+ self . microlens
34
+ ] )
35
+
36
+ ( overrideCabal ( drv : {
37
+ version = "1.3.0.0-unstable-2025-04-25" ;
38
+ src = pkgs . fetchFromGitHub {
39
+ owner = "AccelerateHS" ;
40
+ repo = "accelerate" ;
41
+ rev = "3f681a5091eddf5a3b97f4cd0de32adc830e1117" ;
42
+ sha256 = "sha256-tCcl7wAls+5cBSrqbxfEAJngbV43OJcLJdaC4qqkBxc=" ;
43
+ } ;
44
+ } ) )
45
+ ] ;
46
+
23
47
# https://github.com/ivanperez-keera/dunai/issues/427
24
48
dunai = addBuildDepend self . list-transformer ( enableCabalFlag "list-transformer" super . dunai ) ;
25
49
@@ -34,7 +58,7 @@ self: super:
34
58
Cabal-syntax = self . Cabal-syntax_3_12_1_0 ;
35
59
}
36
60
) ;
37
- Cabal_3_14_1_1 =
61
+ Cabal_3_14_2_0 =
38
62
overrideCabal
39
63
( drv : {
40
64
# Revert increased lower bound on unix since we have backported
@@ -47,15 +71,15 @@ self: super:
47
71
} )
48
72
(
49
73
doDistribute (
50
- super . Cabal_3_14_1_1 . override {
51
- Cabal-syntax = self . Cabal-syntax_3_14_1_0 ;
74
+ super . Cabal_3_14_2_0 . override {
75
+ Cabal-syntax = self . Cabal-syntax_3_14_2_0 ;
52
76
}
53
77
)
54
78
) ;
55
79
56
80
# Needs matching version of Cabal
57
81
Cabal-hooks = super . Cabal-hooks . override {
58
- Cabal = self . Cabal_3_14_1_1 ;
82
+ Cabal = self . Cabal_3_14_2_0 ;
59
83
} ;
60
84
61
85
# cabal-install needs most recent versions of Cabal and Cabal-syntax,
@@ -67,8 +91,8 @@ self: super:
67
91
cabalInstallOverlay =
68
92
cself : csuper :
69
93
lib . optionalAttrs ( lib . versionOlder self . ghc . version "9.12" ) {
70
- Cabal = cself . Cabal_3_14_1_1 ;
71
- Cabal-syntax = cself . Cabal-syntax_3_14_1_0 ;
94
+ Cabal = cself . Cabal_3_14_2_0 ;
95
+ Cabal-syntax = cself . Cabal-syntax_3_14_2_0 ;
72
96
} ;
73
97
in
74
98
{
@@ -248,20 +272,6 @@ self: super:
248
272
sha256 = "10zkvclyir3zf21v41zdsvg68vrkq89n64kv9k54742am2i4aygf" ;
249
273
} ) super . weeder ;
250
274
251
- # Allow aeson == 2.1.*
252
- # https://github.com/hdgarrood/aeson-better-errors/issues/23
253
- aeson-better-errors = lib . pipe super . aeson-better-errors [
254
- doJailbreak
255
- ( appendPatches [
256
- # https://github.com/hdgarrood/aeson-better-errors/pull/25
257
- ( fetchpatch {
258
- name = "mtl-2-3.patch" ;
259
- url = "https://github.com/hdgarrood/aeson-better-errors/commit/1ec49ab7d1472046b680b5a64ae2930515b47714.patch" ;
260
- hash = "sha256-xuuocWxSoBDclVp0bJ9UrDamVcDVOAFgJIi/un1xBvk=" ;
261
- } )
262
- ] )
263
- ] ;
264
-
265
275
# Version 2.1.1 is deprecated, but part of Stackage LTS at the moment.
266
276
# https://github.com/commercialhaskell/stackage/issues/7500
267
277
# https://github.com/yesodweb/shakespeare/issues/280
@@ -478,7 +488,7 @@ self: super:
478
488
name = "git-annex-${ super . git-annex . version } -src" ;
479
489
url = "git://git-annex.branchable.com/" ;
480
490
rev = "refs/tags/" + super . git-annex . version ;
481
- sha256 = "18n6ah4d5i8qhx1s95zsb8bg786v0nv9hcjyxggrk88ya77maxha " ;
491
+ sha256 = "10prmih74h31fwv14inqavzmm25hmlr24h49h9lpxqd88dn3r9cd " ;
482
492
# delete android and Android directories which cause issues on
483
493
# darwin (case insensitive directory). Since we don't need them
484
494
# during the build process, we can delete it to prevent a hash
@@ -899,16 +909,6 @@ self: super:
899
909
# "base" dependency.
900
910
haddock-cheatsheet = doJailbreak super . haddock-cheatsheet ;
901
911
902
- # https://github.com/Gabriella439/Haskell-MVC-Updates-Library/pull/1
903
- mvc-updates = appendPatches [
904
- ( pkgs . fetchpatch {
905
- name = "rename-pretraverse.patch" ;
906
- url = "https://github.com/Gabriella439/Haskell-MVC-Updates-Library/commit/47b31202b761439947ffbc89ec1c6854c1520819.patch" ;
907
- sha256 = "sha256-a6k3lWtXNYUIjWXR+vRAHz2bANq/2eM0F5FLL8Qt2lA=" ;
908
- includes = [ "src/MVC/Updates.hs" ] ;
909
- } )
910
- ] ( doJailbreak super . mvc-updates ) ;
911
-
912
912
# Too strict bounds on bytestring < 0.12
913
913
# https://github.com/Gabriella439/Haskell-Pipes-HTTP-Library/issues/18
914
914
pipes-http = doJailbreak super . pipes-http ;
@@ -1232,14 +1232,16 @@ self: super:
1232
1232
# test suite requires git and does a bunch of git operations
1233
1233
restless-git = dontCheck super . restless-git ;
1234
1234
1235
- sensei = overrideCabal ( drv : {
1236
- # sensei passes `-package hspec-meta` to GHC in the tests, but doesn't
1237
- # depend on it itself.
1238
- testHaskellDepends = drv . testHaskellDepends or [ ] ++ [ self . hspec-meta ] ;
1239
- # requires git at test-time *and* runtime, but we'll just rely on users to
1240
- # bring their own git at runtime.
1241
- testToolDepends = drv . testToolDepends or [ ] ++ [ pkgs . git ] ;
1242
- } ) super . sensei ;
1235
+ # Missing test files
1236
+ # https://github.com/pbrisbin/jsonpatch/issues/10
1237
+ jsonpatch = overrideCabal ( drv : {
1238
+ testTargets =
1239
+ lib . warnIf ( lib . versionAtLeast drv . version "0.3.0.2" )
1240
+ "haskellPackages.jsonpatch: override can be dropped"
1241
+ [
1242
+ "readme" # disabled: "spec"
1243
+ ] ;
1244
+ } ) super . jsonpatch ;
1243
1245
1244
1246
# Work around https://github.com/haskell/c2hs/issues/192.
1245
1247
c2hs = dontCheck super . c2hs ;
@@ -1460,22 +1462,7 @@ self: super:
1460
1462
hjsmin = dontCheck super . hjsmin ;
1461
1463
1462
1464
# Remove for hail > 0.2.0.0
1463
- hail = overrideCabal ( drv : {
1464
- patches = [
1465
- ( fetchpatch {
1466
- # Relax dependency constraints,
1467
- # upstream PR: https://github.com/james-preston/hail/pull/13
1468
- url = "https://patch-diff.githubusercontent.com/raw/james-preston/hail/pull/13.patch" ;
1469
- sha256 = "039p5mqgicbhld2z44cbvsmam3pz0py3ybaifwrjsn1y69ldsmkx" ;
1470
- } )
1471
- ( fetchpatch {
1472
- # Relax dependency constraints,
1473
- # upstream PR: https://github.com/james-preston/hail/pull/16
1474
- url = "https://patch-diff.githubusercontent.com/raw/james-preston/hail/pull/16.patch" ;
1475
- sha256 = "0dpagpn654zjrlklihsg911lmxjj8msylbm3c68xa5aad1s9gcf7" ;
1476
- } )
1477
- ] ;
1478
- } ) super . hail ;
1465
+ hail = doJailbreak super . hail ;
1479
1466
1480
1467
# https://github.com/kazu-yamamoto/dns/issues/150
1481
1468
dns = dontCheck super . dns ;
@@ -2763,12 +2750,12 @@ self: super:
2763
2750
doJailbreak
2764
2751
# 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
2765
2752
( overrideSrc rec {
2766
- version = "12.2.7 " ;
2753
+ version = "12.2.12 " ;
2767
2754
src = pkgs . fetchFromGitHub {
2768
2755
owner = "PostgREST" ;
2769
2756
repo = "postgrest" ;
2770
2757
rev = "v${ version } " ;
2771
- hash = "sha256-4lKA+U7J8maKiDX9CWxWGjepGKSUu4ZOAA188yMt0bU =" ;
2758
+ hash = "sha256-A/3JQc9h/FKX+xZvOVMwhXsKxdkRS783I/1EiZ3e73Y =" ;
2772
2759
} ;
2773
2760
} )
2774
2761
# 2024-11-03: Fixes build on aarch64-darwin. Can be removed after updating to 13+.
@@ -2935,14 +2922,6 @@ self: super:
2935
2922
}
2936
2923
) super . feedback ;
2937
2924
2938
- # https://github.com/maralorn/haskell-taskwarrior/pull/12
2939
- taskwarrior = appendPatches [
2940
- ( fetchpatch {
2941
- url = "https://github.com/maralorn/haskell-taskwarrior/commit/b846c6ae64e716dca2d44488f60fee3697b5322d.patch" ;
2942
- sha256 = "sha256-fwBYBmw9Jva2UEPQ6E/5/HBA8ZDiM7/QQQDBp3diveU=" ;
2943
- } )
2944
- ] super . taskwarrior ;
2945
-
2946
2925
testcontainers = lib . pipe super . testcontainers [
2947
2926
dontCheck # Tests require docker
2948
2927
doJailbreak # https://github.com/testcontainers/testcontainers-hs/pull/58
@@ -3020,10 +2999,6 @@ self: super:
3020
2999
# jailbreak to allow deepseq >= 1.5, https://github.com/jumper149/blucontrol/issues/3
3021
3000
blucontrol = doJailbreak super . blucontrol ;
3022
3001
3023
- # Stackage LTS 23.17 has 0.1.5, which was marked deprecated as it was broken.
3024
- # Can probably be dropped for Stackage LTS >= 23.18
3025
- network-control = doDistribute self . network-control_0_1_6 ;
3026
-
3027
3002
# Needs to match pandoc, see:
3028
3003
# https://github.com/jgm/pandoc/commit/97b36ecb7703b434ed4325cc128402a9eb32418d
3029
3004
commonmark-pandoc = doDistribute self . commonmark-pandoc_0_2_2_3 ;
@@ -3065,19 +3040,28 @@ self: super:
3065
3040
assert super . bzlib . version == "0.5.2.0" ;
3066
3041
doJailbreak super . bzlib ;
3067
3042
3068
- what4 = lib . pipe super . what4 [
3069
- ( addTestToolDepends (
3070
- with pkgs ;
3071
- [
3072
- cvc4
3073
- cvc5
3074
- z3
3043
+ inherit
3044
+ ( lib . mapAttrs (
3045
+ _ : pkg :
3046
+ lib . pipe pkg [
3047
+ ( addTestToolDepends (
3048
+ with pkgs ;
3049
+ [
3050
+ cvc4
3051
+ cvc5
3052
+ z3
3053
+ ]
3054
+ ) )
3055
+ # 2025-04-09: FIXME: template_tests still failing with:
3056
+ # fd:9: hPutBuf: resource vanished (Broken pipe)
3057
+ dontCheck
3058
+
3059
+ doDistribute
3075
3060
]
3076
- ) )
3077
- # 2025-04-09: template_tests still failing with:
3078
- # fd:9: hPutBuf: resource vanished (Broken pipe)
3079
- dontCheck
3080
- ] ;
3061
+ ) super )
3062
+ what4
3063
+ what4_1_7
3064
+ ;
3081
3065
3082
3066
copilot-theorem = lib . pipe super . copilot-theorem [
3083
3067
( addTestToolDepends ( with pkgs ; [ z3 ] ) )
@@ -3153,7 +3137,23 @@ self: super:
3153
3137
# 2025-04-13: jailbreak to allow th-abstraction >= 0.7
3154
3138
crucible =
3155
3139
assert super . crucible . version == "0.7.2" ;
3156
- doJailbreak super . crucible ;
3140
+ doJailbreak (
3141
+ super . crucible . override {
3142
+ what4 = self . what4_1_7 ;
3143
+ }
3144
+ ) ;
3145
+
3146
+ crucible-llvm = super . crucible-llvm . override {
3147
+ what4 = self . what4_1_7 ;
3148
+ } ;
3149
+
3150
+ # Test suite invokes cabal-install in a way incompatible with our generic builder
3151
+ # (i.e. tries to re-use the ghc package db / environment from dist-newstyle).
3152
+ sensei = dontCheck super . sensei ;
3153
+
3154
+ crux = super . crux . override {
3155
+ simple-get-opt = self . simple-get-opt_0_4 ;
3156
+ } ;
3157
3157
3158
3158
# 2025-04-23: jailbreak to allow megaparsec >= 9.7
3159
3159
# 2025-04-23: test data missing from tarball
0 commit comments