Skip to content

Commit ac1a257

Browse files
haskellPackages: stackage LTS 24.16 -> LTS 24.19 (#460624)
2 parents 107e278 + 6c0b980 commit ac1a257

16 files changed

Lines changed: 12611 additions & 2746 deletions

File tree

pkgs/by-name/hl/hledger-check-fancyassertions/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation rec {
1313
src = fetchurl {
1414
name = "hledger-check-fancyassertion-${version}.hs";
1515
url = "https://raw.githubusercontent.com/simonmichael/hledger/hledger-lib-${version}/bin/hledger-check-fancyassertions.hs";
16-
hash = "sha256-p1JvPHSB5hkfZsTq1sSL0mxCRkhZu1zkpXTELVNFE64=";
16+
hash = "sha256-Zokrrcy9CfVV2tNI1DDsjqC+PcTdlMdit4O4Y1gP1O4=";
1717
};
1818

1919
dontUnpack = true;

pkgs/data/misc/hackage/pin.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "598216fa2815cc50449239d72043b12a04a83709",
3-
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/598216fa2815cc50449239d72043b12a04a83709.tar.gz",
4-
"sha256": "030yfbdzzdsxfjin97kl1kzqqnvkvjvjfns3p84xkq59fw8096cr",
5-
"msg": "Update from Hackage at 2025-10-22T21:20:29Z"
2+
"commit": "24e42920d74ce9ac5c0c05264079d55cec49e82b",
3+
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/24e42920d74ce9ac5c0c05264079d55cec49e82b.tar.gz",
4+
"sha256": "1kmf1wg09gsw06525mc0y91x9jy81amhd1sd3b7gl1swnj3dzqqf",
5+
"msg": "Update from Hackage at 2025-11-24T11:39:51Z"
66
}

pkgs/development/haskell-modules/cabal2nix-unstable/cabal2nix.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
}:
3636
mkDerivation {
3737
pname = "cabal2nix";
38-
version = "2.20.1-unstable-2025-11-11";
38+
version = "2.20.1-unstable-2025-11-20";
3939
src = fetchzip {
40-
url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
41-
sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
40+
url = "https://github.com/NixOS/cabal2nix/archive/459859839cfe4fb352a29c1a72a1c4f0f537a1b8.tar.gz";
41+
sha256 = "1443hlbz29y2dn22kf91zx7g284zp3l2vgw6jg4wgx66v2sxrqii";
4242
};
4343
postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot";
4444
isLibrary = true;

pkgs/development/haskell-modules/cabal2nix-unstable/distribution-nixpkgs.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
}:
1919
mkDerivation {
2020
pname = "distribution-nixpkgs";
21-
version = "1.7.1.1-unstable-2025-11-11";
21+
version = "1.7.1.1-unstable-2025-11-20";
2222
src = fetchzip {
23-
url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
24-
sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
23+
url = "https://github.com/NixOS/cabal2nix/archive/459859839cfe4fb352a29c1a72a1c4f0f537a1b8.tar.gz";
24+
sha256 = "1443hlbz29y2dn22kf91zx7g284zp3l2vgw6jg4wgx66v2sxrqii";
2525
};
2626
postUnpack = "sourceRoot+=/distribution-nixpkgs; echo source root reset to $sourceRoot";
2727
enableSeparateDataOutput = true;

pkgs/development/haskell-modules/cabal2nix-unstable/hackage-db.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
}:
1818
mkDerivation {
1919
pname = "hackage-db";
20-
version = "2.1.3-unstable-2025-11-11";
20+
version = "2.1.3-unstable-2025-11-20";
2121
src = fetchzip {
22-
url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
23-
sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
22+
url = "https://github.com/NixOS/cabal2nix/archive/459859839cfe4fb352a29c1a72a1c4f0f537a1b8.tar.gz";
23+
sha256 = "1443hlbz29y2dn22kf91zx7g284zp3l2vgw6jg4wgx66v2sxrqii";
2424
};
2525
postUnpack = "sourceRoot+=/hackage-db; echo source root reset to $sourceRoot";
2626
isLibrary = true;

pkgs/development/haskell-modules/cabal2nix-unstable/language-nix.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
lib,
1010
parsec-class,
1111
pretty,
12+
process,
1213
QuickCheck,
1314
}:
1415
mkDerivation {
1516
pname = "language-nix";
16-
version = "2.3.0-unstable-2025-11-11";
17+
version = "2.3.0-unstable-2025-11-20";
1718
src = fetchzip {
18-
url = "https://github.com/NixOS/cabal2nix/archive/a152152295a9fa6698583e84a2b8c7eee1446296.tar.gz";
19-
sha256 = "1jpgzyc360g5snvc5ji6wqfvbsc7siwxvhrwafzzfg762niq0c49";
19+
url = "https://github.com/NixOS/cabal2nix/archive/459859839cfe4fb352a29c1a72a1c4f0f537a1b8.tar.gz";
20+
sha256 = "1443hlbz29y2dn22kf91zx7g284zp3l2vgw6jg4wgx66v2sxrqii";
2021
};
2122
postUnpack = "sourceRoot+=/language-nix; echo source root reset to $sourceRoot";
2223
libraryHaskellDepends = [
@@ -33,6 +34,7 @@ mkDerivation {
3334
lens
3435
parsec-class
3536
pretty
37+
process
3638
QuickCheck
3739
];
3840
homepage = "https://github.com/NixOS/cabal2nix/tree/master/language-nix#readme";

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 41 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -594,42 +594,36 @@ with haskellLib;
594594
# but we want e.g. completions as well. See
595595
# https://web.archive.org/web/20160724083703/https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
596596
# or git-annex @ 3571b077a1244330cc736181ee04b4d258a78476 doc/bugs/bash_completion_file_is_missing*
597-
git-annex = lib.pipe super.git-annex (
598-
[
599-
(overrideCabal (drv: {
600-
src = pkgs.fetchgit {
601-
name = "git-annex-${super.git-annex.version}-src";
602-
url = "git://git-annex.branchable.com/";
603-
rev = "refs/tags/" + super.git-annex.version;
604-
sha256 = "sha256-HkUrc9T8qpGsONIuM7ciKbx4vuJTOLFNxneIPte0wv4=";
605-
# delete android and Android directories which cause issues on
606-
# darwin (case insensitive directory). Since we don't need them
607-
# during the build process, we can delete it to prevent a hash
608-
# mismatch on darwin.
609-
postFetch = ''
610-
rm -r $out/doc/?ndroid*
611-
'';
612-
};
597+
git-annex = lib.pipe super.git-annex [
598+
(overrideCabal (drv: {
599+
src = pkgs.fetchgit {
600+
name = "git-annex-${super.git-annex.version}-src";
601+
url = "git://git-annex.branchable.com/";
602+
rev = "refs/tags/" + super.git-annex.version;
603+
sha256 = "sha256-+OLFMrqpf1Ooy7CQ9S+N/H5R5+aHQtbO1pYwDF4ln8A=";
604+
# delete android and Android directories which cause issues on
605+
# darwin (case insensitive directory). Since we don't need them
606+
# during the build process, we can delete it to prevent a hash
607+
# mismatch on darwin.
608+
postFetch = ''
609+
rm -r $out/doc/?ndroid*
610+
'';
611+
};
613612

614-
patches = drv.patches or [ ] ++ [
615-
# Prevent .desktop files from being installed to $out/usr/share.
616-
# TODO(@sternenseemann): submit upstreamable patch resolving this
617-
# (this should be possible by also taking PREFIX into account).
618-
./patches/git-annex-no-usr-prefix.patch
619-
];
613+
patches = drv.patches or [ ] ++ [
614+
# Prevent .desktop files from being installed to $out/usr/share.
615+
# TODO(@sternenseemann): submit upstreamable patch resolving this
616+
# (this should be possible by also taking PREFIX into account).
617+
./patches/git-annex-no-usr-prefix.patch
618+
];
620619

621-
postPatch = ''
622-
substituteInPlace Makefile \
623-
--replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
624-
'InstallDesktopFile git-annex'
625-
'';
626-
}))
627-
]
628-
++ lib.optionals (lib.versionOlder self.ghc.version "9.10") [
629-
(disableCabalFlag "OsPath")
630-
(addBuildDepends [ self.filepath-bytestring ])
631-
]
632-
);
620+
postPatch = ''
621+
substituteInPlace Makefile \
622+
--replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
623+
'InstallDesktopFile git-annex'
624+
'';
625+
}))
626+
];
633627

634628
# Too strict bounds on servant
635629
# Pending a hackage revision: https://github.com/berberman/arch-web/commit/5d08afee5b25e644f9e2e2b95380a5d4f4aa81ea#commitcomment-89230555
@@ -2806,12 +2800,12 @@ with haskellLib;
28062800
doJailbreak
28072801
# 2022-12-02: Hackage release lags behind actual releases: https://github.com/PostgREST/postgrest/issues/2275
28082802
(overrideSrc rec {
2809-
version = "14.0";
2803+
version = "14.1";
28102804
src = pkgs.fetchFromGitHub {
28112805
owner = "PostgREST";
28122806
repo = "postgrest";
28132807
rev = "v${version}";
2814-
hash = "sha256-GokYeVDuVdIbowU6xE3l8iaGbH4jnpqQFy/E+sb/Unw=";
2808+
hash = "sha256-VGmo0Y8Q86euPlu3AhMmcmy3rintNy6s9efpUaliBWY=";
28152809
};
28162810
})
28172811
];
@@ -2958,24 +2952,14 @@ with haskellLib;
29582952
# https://github.com/mchav/snappy-hs/commit/400490df38e0db7f353c0427f034a231bdf73098#r167007963
29592953
snappy-hs = doJailbreak super.snappy-hs;
29602954

2955+
# Too strict upper bound on doctest
2956+
# https://github.com/awakesecurity/proto3-wire/pull/111
29612957
proto3-wire = appendPatches [
29622958
(fetchpatch {
2963-
# https://github.com/awakesecurity/proto3-wire/pull/108
29642959
name = "add-reverse-encoders-for-packed-repeated-fields.patch";
2965-
url = "https://github.com/awakesecurity/proto3-wire/commit/d4376fb6f1c1ac03ee8ec5c5793700ca6508ea70.patch";
2966-
hash = "sha256-vtEYg/jLoTn1YRVhQJi6kyta+U4XiWeS7i1ZSN7BYf8=";
2967-
includes = [
2968-
"**.cabal"
2969-
"*.hs"
2970-
];
2971-
})
2972-
(fetchpatch {
2973-
# https://github.com/awakesecurity/proto3-wire/pull/111
2974-
name = "support-LTS-24.patch";
2975-
url = "https://github.com/awakesecurity/proto3-wire/commit/35fd88c4daf6643135db6da9ab6ed6d6f33eb3de.patch";
2960+
url = "https://github.com/awakesecurity/proto3-wire/commit/fcc53d9935b64b6d8aaf65c8cef17f4bbed56867.patch";
29762961
hash = "sha256-GzXlweRshVLA29xVHhJSRIU40y+KtAplIqfvp0I8cY0=";
29772962
})
2978-
29792963
] super.proto3-wire;
29802964

29812965
# 2024-07-27: building test component requires non-trivial custom build steps
@@ -3109,7 +3093,7 @@ with haskellLib;
31093093
]
31103094
) super)
31113095
what4
3112-
what4_1_7
3096+
what4_1_7_2
31133097
;
31143098

31153099
copilot-theorem = lib.pipe super.copilot-theorem [
@@ -3171,29 +3155,15 @@ with haskellLib;
31713155
# https://github.com/tweag/monad-bayes/issues/378
31723156
(doJailbreak super.monad-bayes);
31733157

3174-
crucible =
3175-
lib.pipe
3176-
(super.crucible.override {
3177-
what4 = self.what4_1_7;
3178-
})
3179-
[
3180-
# 2025-04-13: jailbreak to allow th-abstraction >= 0.7
3181-
(warnAfterVersion "0.7.2")
3182-
doJailbreak
3183-
3184-
# Prevent clashes with now exported Prelude.foldl'
3185-
(appendPatch (
3186-
pkgs.fetchpatch {
3187-
name = "base-4.20-foldl'.patch";
3188-
url = "https://github.com/GaloisInc/crucible/commit/10f372e4b0389dd3966e04163dcd67d71e651709.patch";
3189-
relative = "crucible";
3190-
sha256 = "sha256-frxTs5SB1ENjH+X0lIlQ8k6pDIDOANylrqIOQpEtObU=";
3191-
}
3192-
))
3193-
];
3158+
# 2025-04-13: jailbreak to allow th-abstraction >= 0.7
3159+
crucible = doJailbreak (
3160+
super.crucible.override {
3161+
what4 = self.what4_1_7_2;
3162+
}
3163+
);
31943164

31953165
crucible-llvm = super.crucible-llvm.override {
3196-
what4 = self.what4_1_7;
3166+
what4 = self.what4_1_7_2;
31973167
};
31983168

31993169
# Test suite invokes cabal-install in a way incompatible with our generic builder
@@ -3331,25 +3301,6 @@ with haskellLib;
33313301
stripe-signature = doJailbreak super.stripe-signature;
33323302
stripe-wreq = doJailbreak super.stripe-wreq;
33333303

3334-
# 2025-10-12: gi-gtk was renamed to gi-gtk3
3335-
# https://github.com/haskell-gi/haskell-gi/issues/478
3336-
gi-gtk-hs =
3337-
appendPatches
3338-
[
3339-
(pkgs.fetchpatch {
3340-
name = "gi-gtk-hs-use-gtk3.patch";
3341-
url = "https://github.com/haskell-gi/haskell-gi/commit/e2ed85835499f70e119f050a2f37f22481f93886.patch";
3342-
sha256 = "sha256-MzxXtBNBbJJaNwTOrq/CYqK4yGfS4Yk5fQ38ihFcclA=";
3343-
relative = "gi-gtk-hs";
3344-
})
3345-
]
3346-
(
3347-
super.gi-gtk-hs.override {
3348-
gi-gdk = self.gi-gdk3;
3349-
gi-gtk = self.gi-gtk3;
3350-
}
3351-
);
3352-
33533304
# 2025-08-04: Disable failing testcases. It would feel bad to disable all the
33543305
# checks in a cryptography related package.
33553306
botan-low = overrideCabal (drv: {

pkgs/development/haskell-modules/configuration-darwin.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,10 @@ self: super:
398398
'';
399399
}) super.rio;
400400

401+
# Don't use homebrew icu on macOS
402+
# https://github.com/NixOS/nixpkgs/issues/462046
403+
text-icu = disableCabalFlag "homebrew" super.text-icu;
404+
401405
# https://github.com/haskell-crypto/cryptonite/issues/360
402406
cryptonite = appendPatch ./patches/cryptonite-remove-argon2.patch super.cryptonite;
403407

pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ self: super: {
9696
++ drv.testFlags or [ ];
9797
}) (doJailbreak super.hpack);
9898

99+
# Later versions require unix >= 2.8 which is tricky to provide with GHC 9.4
100+
crypton-x509-store = doDistribute self.crypton-x509-store_1_6_11;
101+
99102
# 2022-08-01: Tests are broken on ghc 9.2.4: https://github.com/wz1000/HieDb/issues/46
100103
hiedb = dontCheck super.hiedb;
101104

@@ -142,6 +145,8 @@ self: super: {
142145
"haskell-language-server has dropped support for ghc 9.4 in version 2.12.0.0, please use a newer ghc version or an older nixpkgs"
143146
(markBroken super.haskell-language-server);
144147

148+
hlint = doDistribute self.hlint_3_6_1;
149+
145150
# directory-ospath-streaming requires the ospath API in core packages
146151
# filepath, directory and unix.
147152
stan = super.stan.override {

0 commit comments

Comments
 (0)