mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
Compare commits
247 Commits
master
...
haskell-up
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eef2380c20 | ||
|
|
e3c24ee8db | ||
|
|
116208d9cf | ||
|
|
a332844436 | ||
|
|
86ed8342de | ||
|
|
31f495afe9 | ||
|
|
da941382a6 | ||
|
|
920b50911d | ||
|
|
43159787fd | ||
|
|
a603053a30 | ||
|
|
5865c4be2c | ||
|
|
b72ec6bdee | ||
|
|
c818fb7e53 | ||
|
|
88daa4b688 | ||
|
|
d82c0d269e | ||
|
|
0b6b59708c | ||
|
|
9220258efb | ||
|
|
a8560ee995 | ||
|
|
cfdc80cdd7 | ||
|
|
523ffbe971 | ||
|
|
3aed88a715 | ||
|
|
1c3465fcb7 | ||
|
|
54112f9a6b | ||
|
|
92cbc9ca81 | ||
|
|
6a3c990a99 | ||
|
|
39ee207b1d | ||
|
|
d64edb78f9 | ||
|
|
54726cb9e3 | ||
|
|
b7659cdb62 | ||
|
|
bcf85400c4 | ||
|
|
e3927c07f7 | ||
|
|
8486e8a7b3 | ||
|
|
4f0970401a | ||
|
|
9959ce2f44 | ||
|
|
3f085fe61c | ||
|
|
f61423d87c | ||
|
|
4aeebf57da | ||
|
|
4c7647a6d3 | ||
|
|
afda14f1d4 | ||
|
|
e9af2ed4be | ||
|
|
2735e861f0 | ||
|
|
92ca07b6a5 | ||
|
|
e82d6b924f | ||
|
|
94aa8f8960 | ||
|
|
75496eb67a | ||
|
|
9c55dbeccf | ||
|
|
cef090d1ab | ||
|
|
4132fb9736 | ||
|
|
98c655c09a | ||
|
|
3f49232af6 | ||
|
|
7100632254 | ||
|
|
b078be0041 | ||
|
|
92779d4478 | ||
|
|
070e7a021f | ||
|
|
71b5964ed6 | ||
|
|
00a35c51c7 | ||
|
|
dbd129b241 | ||
|
|
26066e1e2b | ||
|
|
60f1d07046 | ||
|
|
a5e06de0c4 | ||
|
|
8833922b3e | ||
|
|
d0e8fdd1bd | ||
|
|
9122c84035 | ||
|
|
f479cbacab | ||
|
|
f87fabdc91 | ||
|
|
f94cecf640 | ||
|
|
fc0932307c | ||
|
|
ffbec19b05 | ||
|
|
435e7264b6 | ||
|
|
480f0726e7 | ||
|
|
4d0ae93287 | ||
|
|
81ef0ce73b | ||
|
|
24211dd381 | ||
|
|
8b99224c3e | ||
|
|
d56383f426 | ||
|
|
2836c4b1f4 | ||
|
|
16a3b0c7d9 | ||
|
|
7db16b7a40 | ||
|
|
85b5c86354 | ||
|
|
3f6c25ad80 | ||
|
|
a8988fede0 | ||
|
|
68f69e8b05 | ||
|
|
9bbb567bb9 | ||
|
|
5f8a3af9eb | ||
|
|
b25e3e8489 | ||
|
|
a220c38f46 | ||
|
|
fdbcfd8b47 | ||
|
|
eff6c0e60e | ||
|
|
5a03008b47 | ||
|
|
6dd4da168b | ||
|
|
4cbc2251c7 | ||
|
|
a8233a24e1 | ||
|
|
da4f3989f0 | ||
|
|
e0497b3d10 | ||
|
|
a49c815e3d | ||
|
|
f213d6af36 | ||
|
|
aba749b3bb | ||
|
|
e64658550c | ||
|
|
07d2edc929 | ||
|
|
b52ea84a40 | ||
|
|
f394a62a65 | ||
|
|
ad66699b02 | ||
|
|
084d450fa7 | ||
|
|
ec138222f7 | ||
|
|
5a13f175d1 | ||
|
|
117625921f | ||
|
|
2c44031fe0 | ||
|
|
d34ba4d817 | ||
|
|
e34ce374a1 | ||
|
|
a00be59a94 | ||
|
|
ab20ff9b2f | ||
|
|
995d34a153 | ||
|
|
9208b19946 | ||
|
|
9029909ba3 | ||
|
|
b82be3afe6 | ||
|
|
248b70dc3b | ||
|
|
0baca65faa | ||
|
|
b1528a1baf | ||
|
|
200316c491 | ||
|
|
3c4f10205c | ||
|
|
827c840fb1 | ||
|
|
095f6729ca | ||
|
|
1352e67378 | ||
|
|
0814616eaf | ||
|
|
f70431ea67 | ||
|
|
8383c3f904 | ||
|
|
cac8c10692 | ||
|
|
739281cf7a | ||
|
|
ef5a2561e3 | ||
|
|
a5f1afdf0f | ||
|
|
cbe86ed815 | ||
|
|
5617c0ba47 | ||
|
|
caf8327196 | ||
|
|
89b9cdcbba | ||
|
|
3c3354afa3 | ||
|
|
8cc9c34bcb | ||
|
|
8c3d964e79 | ||
|
|
cadaf97e4e | ||
|
|
593c21a56a | ||
|
|
6306c15610 | ||
|
|
884892c2c1 | ||
|
|
627dd785ad | ||
|
|
180157dfa4 | ||
|
|
0d1190abf7 | ||
|
|
c24d964453 | ||
|
|
9ec4c8e1b6 | ||
|
|
b32a192bcf | ||
|
|
338f88c94a | ||
|
|
a262ae9474 | ||
|
|
9f367b9af0 | ||
|
|
9227423f57 | ||
|
|
79b85a6061 | ||
|
|
07837352f5 | ||
|
|
422b020e60 | ||
|
|
d58b43bad8 | ||
|
|
e4e45c45d7 | ||
|
|
a0811c1859 | ||
|
|
41dec8b399 | ||
|
|
4b9529d490 | ||
|
|
eca559367a | ||
|
|
d217b14de6 | ||
|
|
5aafdde3a0 | ||
|
|
9eb68607ef | ||
|
|
430963bdf1 | ||
|
|
4ca20a7582 | ||
|
|
39ad1cb021 | ||
|
|
6ad984ce3d | ||
|
|
8b0587a6d1 | ||
|
|
668847dd15 | ||
|
|
40f0c70593 | ||
|
|
265fda252f | ||
|
|
e1eeed9ea6 | ||
|
|
d3928686c3 | ||
|
|
fb629a8712 | ||
|
|
1fa9545db7 | ||
|
|
7b203a8cdf | ||
|
|
3080e495c5 | ||
|
|
41a68a1180 | ||
|
|
2c84961290 | ||
|
|
eb378a86bf | ||
|
|
b8880df8ac | ||
|
|
79a87d6750 | ||
|
|
61b9e0b5f4 | ||
|
|
2cb1137ad8 | ||
|
|
dc341cc322 | ||
|
|
7ef227eef6 | ||
|
|
df2259de34 | ||
|
|
fbfe792c92 | ||
|
|
18c743b5c9 | ||
|
|
1912d24658 | ||
|
|
8b3bed966a | ||
|
|
8ca5572327 | ||
|
|
f1cd3a542b | ||
|
|
28ea7d3e94 | ||
|
|
015d2be85f | ||
|
|
dcd5f66215 | ||
|
|
c990defdc1 | ||
|
|
ef80ea96c0 | ||
|
|
70b3bb6148 | ||
|
|
9f87b41bbc | ||
|
|
9eab5d0982 | ||
|
|
31b3654bd0 | ||
|
|
fd7118d37f | ||
|
|
3f0c2996b0 | ||
|
|
58545c6507 | ||
|
|
bd20e4d544 | ||
|
|
40fdae7a02 | ||
|
|
4dfddc5e2d | ||
|
|
a42cf3de47 | ||
|
|
98472212df | ||
|
|
1166f6d5fe | ||
|
|
3100f81d11 | ||
|
|
cfae19b0e2 | ||
|
|
4c79be7954 | ||
|
|
a5d168008d | ||
|
|
8960ba3747 | ||
|
|
4bac4c007b | ||
|
|
449e33902d | ||
|
|
cfb525e8c7 | ||
|
|
90e108c717 | ||
|
|
a9c7731b36 | ||
|
|
0e972a63ef | ||
|
|
db6cdf8674 | ||
|
|
83742b85ed | ||
|
|
7fe7f911c5 | ||
|
|
379b9966b6 | ||
|
|
8e147a7423 | ||
|
|
e78b52efb2 | ||
|
|
9db26c0d78 | ||
|
|
44c90f8b11 | ||
|
|
6ae08b4b8c | ||
|
|
e71086f1ad | ||
|
|
a9a7b4af3b | ||
|
|
6e6ee420cc | ||
|
|
4f5821131d | ||
|
|
7c90da01b9 | ||
|
|
87258e4b4c | ||
|
|
07855b2421 | ||
|
|
0ec79f0885 | ||
|
|
9adad48243 | ||
|
|
2e0690adfb | ||
|
|
e9724bc92f | ||
|
|
3b2f54505e | ||
|
|
5498d6a4fe | ||
|
|
b0f9043b9f | ||
|
|
fcd62a690f | ||
|
|
fe8e3efa4f |
39
maintainers/scripts/haskell/eval-pkg-sets.sh
Executable file
39
maintainers/scripts/haskell/eval-pkg-sets.sh
Executable file
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash
|
||||
#!nix-shell -p jq git
|
||||
# shellcheck shell=bash
|
||||
#
|
||||
# Usage: eval-pkg-sets.sh [extra flags for nix-* commands ...]
|
||||
#
|
||||
# Must be executed in a git checkout of Nixpkgs.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
NIXPKGS="$(git rev-parse --show-toplevel)"
|
||||
PKGSETS="$(nix-env --readonly-mode --json --drv-path -f "$NIXPKGS" -qaP -A haskell.compiler "$@" \
|
||||
| jq -r 'to_entries | unique_by(.value.drvPath) .[] .key | sub("^haskell.compiler";"haskell.packages")')"
|
||||
|
||||
trap 'exit 1' SIGINT SIGTERM
|
||||
|
||||
set +e
|
||||
|
||||
badsets=""
|
||||
for set in $PKGSETS; do
|
||||
# Confirm an equivalent package set to haskell.compiler.$entry exists and is usable
|
||||
if ! nix-instantiate --readonly-mode -A "$set.ghc" "$@" > /dev/null 2>&1; then
|
||||
echo "Skipping $set... ($set.ghc does not evaluate)"
|
||||
else
|
||||
echo "Evaluating $set..."
|
||||
|
||||
if ! nix-env --readonly-mode -f "$NIXPKGS" -qaP --drv-path -A "$set" "$@" > /dev/null; then
|
||||
badsets+="$set "
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$badsets" ]; then
|
||||
echo "Found potential eval issues in the following sets:" >&2
|
||||
# shellcheck disable=SC2086
|
||||
printf '%s\n' $badsets
|
||||
exit 1
|
||||
fi
|
||||
@@ -33,7 +33,7 @@ fi
|
||||
|
||||
# Stackage solver to use, LTS or Nightly
|
||||
# (should be capitalized like the display name)
|
||||
SOLVER=LTS
|
||||
SOLVER=Nightly
|
||||
# Stackage solver verson, if any. Use latest if empty
|
||||
VERSION=
|
||||
TMP_TEMPLATE=update-stackage.XXXXXXX
|
||||
@@ -105,6 +105,7 @@ sed -r \
|
||||
-e '/ hledger-ui /d' \
|
||||
-e '/ hledger-web /d' \
|
||||
-e '/ spacecookie /d' \
|
||||
-e '/ hnix-store-core /d' \
|
||||
< "${tmpfile_new}" >> $stackage_config
|
||||
# Explanations:
|
||||
# cabal2nix, distribution-nixpkgs, jailbreak-cabal, language-nix: These are our packages and we know what we are doing.
|
||||
|
||||
@@ -68,7 +68,7 @@ haskellPackages.mkDerivation {
|
||||
hashable
|
||||
isocline
|
||||
lens
|
||||
lsp_2_8_0_0
|
||||
lsp
|
||||
mtl
|
||||
network
|
||||
network-simple
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
mkDerivation,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchFromCodeberg,
|
||||
aeson,
|
||||
base,
|
||||
bytestring,
|
||||
@@ -26,7 +26,7 @@
|
||||
mkDerivation rec {
|
||||
pname = "mkjson";
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
src = fetchFromCodeberg {
|
||||
owner = "mfussenegger";
|
||||
repo = "mkjson";
|
||||
rev = "${version}";
|
||||
|
||||
@@ -1,2 +1,19 @@
|
||||
{ haskell, haskellPackages }:
|
||||
haskell.lib.justStaticExecutables (haskellPackages.callPackage ./generated.nix { })
|
||||
{
|
||||
haskell,
|
||||
haskellPackages,
|
||||
lib,
|
||||
}:
|
||||
let
|
||||
inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
|
||||
|
||||
# The mkjson-doctest suite depends on specific RNG results not provided by the
|
||||
# GHC in Nixpkgs as of this writing.
|
||||
overrides = {
|
||||
testTargets = [ "mkjson-test" ];
|
||||
};
|
||||
raw-pkg = haskellPackages.callPackage ./generated.nix { };
|
||||
in
|
||||
lib.pipe raw-pkg [
|
||||
(overrideCabal overrides)
|
||||
justStaticExecutables
|
||||
]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"commit": "3a3b69bdd8114e4503dc8cb9909a3b0ea32e6be6",
|
||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/3a3b69bdd8114e4503dc8cb9909a3b0ea32e6be6.tar.gz",
|
||||
"sha256": "1qjd5gp9d4r4y6qjf52m7w9dzy9nq622aqv72ma8d4xlrxrrachp",
|
||||
"msg": "Update from Hackage at 2026-04-24T19:35:23Z"
|
||||
"commit": "6debb08ec29f31bffb358dd022a8fce4a3ceb839",
|
||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/6debb08ec29f31bffb358dd022a8fce4a3ceb839.tar.gz",
|
||||
"sha256": "1h30jg3qbyqbsa3g59pm7kvv56g7bvkwsvzpv8v7zgrcwf2cmi5p",
|
||||
"msg": "Update from Hackage at 2026-07-15T08:37:28Z"
|
||||
}
|
||||
|
||||
@@ -12,6 +12,11 @@ pkgs.haskell.packages.ghc98.override {
|
||||
# https://github.com/avh4/elm-format/blob/e7e5da37716acbfb4954a88128b5cc72b2c911d9/package/nix/generate_derivation.sh
|
||||
elm-format = justStaticExecutables (
|
||||
overrideCabal (drv: {
|
||||
# jailbreak required due to optparse-applicative bounds
|
||||
# optparse-applicative >=0.17.0.0 && <0.19
|
||||
# upstream PR https://github.com/avh4/elm-format/pull/841
|
||||
jailbreak = true;
|
||||
|
||||
postPatch = ''
|
||||
mkdir -p ./generated
|
||||
cat <<EOHS > ./generated/Build_elm_format.hs
|
||||
@@ -35,8 +40,14 @@ pkgs.haskell.packages.ghc98.override {
|
||||
inherit elmPkgs;
|
||||
|
||||
# Needed for elm-format
|
||||
|
||||
avh4-lib = self.callPackage ./elm-format/avh4-lib.nix { };
|
||||
elm-format-lib = self.callPackage ./elm-format/elm-format-lib.nix { };
|
||||
# jailbreak required due to optparse-applicative bounds
|
||||
# optparse-applicative >=0.17.0.0 && <0.19
|
||||
# upstream PR https://github.com/avh4/elm-format/pull/841
|
||||
elm-format-lib = pkgs.haskell.lib.doJailbreak (
|
||||
self.callPackage ./elm-format/elm-format-lib.nix { }
|
||||
);
|
||||
elm-format-test-lib = self.callPackage ./elm-format/elm-format-test-lib.nix { };
|
||||
elm-format-markdown = self.callPackage ./elm-format/elm-format-markdown.nix { };
|
||||
};
|
||||
|
||||
5
pkgs/development/compilers/ghc/9.12.5.nix
Normal file
5
pkgs/development/compilers/ghc/9.12.5.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
import ./common-hadrian.nix {
|
||||
version = "9.12.4.20260614";
|
||||
url = "https://downloads.haskell.org/~ghc/9.12.5-rc2/ghc-9.12.4.20260614-src.tar.gz";
|
||||
sha256 = "3ab5987e18dafff3bc8d62ea6934e2edc0dd2151454af044790cd1074070fd4b";
|
||||
}
|
||||
@@ -855,16 +855,6 @@ stdenv.mkDerivation (
|
||||
preInstall = ''
|
||||
pushd _build/bindist/*
|
||||
|
||||
''
|
||||
# the bindist configure script uses different env variables than the GHC configure script
|
||||
# see https://github.com/NixOS/nixpkgs/issues/267250 krank:ignore-line
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/24211 krank:ignore-line
|
||||
+ lib.optionalString (stdenv.targetPlatform.linker == "cctools") ''
|
||||
export InstallNameToolCmd=$INSTALL_NAME_TOOL
|
||||
export OtoolCmd=$OTOOL
|
||||
''
|
||||
# Replicate configurePhase
|
||||
+ ''
|
||||
$configureScript "''${configureFlags[@]}"
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ./common-hadrian.nix {
|
||||
version = "9.15.20260322";
|
||||
rev = "44f118f09dcde49f64d03e427312df4732f2d4a4";
|
||||
sha256 = "sha256-xby7HKyK5P1Y5DjKbVe62piDCY4Ujb4pbv8AJ7sQ0HI=";
|
||||
version = "10.1.20260513";
|
||||
rev = "38b76b2f1d918f10d2f9d3e57bd0459dfe671d4f";
|
||||
sha256 = "sha256-b0AZsWVmGi6EaWEtPWPOQAxvTlxG2aBwegw5l5HBPDo=";
|
||||
}
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "cabal2nix";
|
||||
version = "2.21.3-unstable-2026-03-30";
|
||||
version = "2.21.3-unstable-2026-06-23";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/41239bcc0622a0975c6705a03a44dfeffeb56f23.tar.gz";
|
||||
sha256 = "01qj6cvaif0810v83r6izcj1bbfpcqqxw4wybq04qsq92sqybpw2";
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/bb97bf4294097812718ab9a3f244c9d58c833ae1.tar.gz";
|
||||
sha256 = "0bp5m83hzcsr3ga9zz5kq1jjs0n44mlh93x5j55avgw1rxvpfw32";
|
||||
};
|
||||
postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot";
|
||||
isLibrary = true;
|
||||
@@ -106,5 +106,5 @@ mkDerivation {
|
||||
'';
|
||||
homepage = "https://github.com/nixos/cabal2nix#readme";
|
||||
description = "Convert Cabal files into Nix build instructions";
|
||||
license = lib.licensesSpdx."BSD-3-Clause";
|
||||
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
||||
}
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "distribution-nixpkgs";
|
||||
version = "1.7.1.1-unstable-2026-03-30";
|
||||
version = "1.7.1.1-unstable-2026-06-23";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/41239bcc0622a0975c6705a03a44dfeffeb56f23.tar.gz";
|
||||
sha256 = "01qj6cvaif0810v83r6izcj1bbfpcqqxw4wybq04qsq92sqybpw2";
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/bb97bf4294097812718ab9a3f244c9d58c833ae1.tar.gz";
|
||||
sha256 = "0bp5m83hzcsr3ga9zz5kq1jjs0n44mlh93x5j55avgw1rxvpfw32";
|
||||
};
|
||||
postUnpack = "sourceRoot+=/distribution-nixpkgs; echo source root reset to $sourceRoot";
|
||||
enableSeparateDataOutput = true;
|
||||
@@ -49,5 +49,5 @@ mkDerivation {
|
||||
];
|
||||
homepage = "https://github.com/NixOS/cabal2nix/tree/master/distribution-nixpkgs#readme";
|
||||
description = "Types and functions to manipulate the Nixpkgs distribution";
|
||||
license = lib.licensesSpdx."BSD-3-Clause";
|
||||
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
||||
}
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hackage-db";
|
||||
version = "2.1.3-unstable-2026-03-30";
|
||||
version = "2.1.3-unstable-2026-06-23";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/41239bcc0622a0975c6705a03a44dfeffeb56f23.tar.gz";
|
||||
sha256 = "01qj6cvaif0810v83r6izcj1bbfpcqqxw4wybq04qsq92sqybpw2";
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/bb97bf4294097812718ab9a3f244c9d58c833ae1.tar.gz";
|
||||
sha256 = "0bp5m83hzcsr3ga9zz5kq1jjs0n44mlh93x5j55avgw1rxvpfw32";
|
||||
};
|
||||
postUnpack = "sourceRoot+=/hackage-db; echo source root reset to $sourceRoot";
|
||||
isLibrary = true;
|
||||
@@ -38,5 +38,5 @@ mkDerivation {
|
||||
];
|
||||
homepage = "https://github.com/NixOS/cabal2nix/tree/master/hackage-db#readme";
|
||||
description = "Access cabal-install's Hackage database via Data.Map";
|
||||
license = lib.licensesSpdx."BSD-3-Clause";
|
||||
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "language-nix";
|
||||
version = "2.3.0-unstable-2026-03-30";
|
||||
version = "2.3.0-unstable-2026-06-23";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/41239bcc0622a0975c6705a03a44dfeffeb56f23.tar.gz";
|
||||
sha256 = "01qj6cvaif0810v83r6izcj1bbfpcqqxw4wybq04qsq92sqybpw2";
|
||||
url = "https://github.com/NixOS/cabal2nix/archive/bb97bf4294097812718ab9a3f244c9d58c833ae1.tar.gz";
|
||||
sha256 = "0bp5m83hzcsr3ga9zz5kq1jjs0n44mlh93x5j55avgw1rxvpfw32";
|
||||
};
|
||||
postUnpack = "sourceRoot+=/language-nix; echo source root reset to $sourceRoot";
|
||||
libraryHaskellDepends = [
|
||||
@@ -39,5 +39,5 @@ mkDerivation {
|
||||
];
|
||||
homepage = "https://github.com/NixOS/cabal2nix/tree/master/language-nix#readme";
|
||||
description = "Data types and functions to represent the Nix language";
|
||||
license = lib.licensesSpdx."BSD-3-Clause";
|
||||
license = lib.meta.getLicenseFromSpdxId "BSD-3-Clause";
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -37,4 +37,21 @@ self: super: {
|
||||
unix = null;
|
||||
xhtml = null;
|
||||
Win32 = null;
|
||||
|
||||
# core pkgs on later GHCs that we can reasonably provide a stub
|
||||
# or Hackage released version for (though they may not build).
|
||||
Cabal-syntax = self.Cabal-syntax_3_6_0_0;
|
||||
semaphore-compat = self.semaphore-compat_2_0_1;
|
||||
os-string = self.os-string_2_0_11;
|
||||
file-io = self.file-io_0_2_0;
|
||||
# Would need 2.25.*, but let's not bother
|
||||
haddock-api = self.haddock-api_2_29_1;
|
||||
haddock-library = self.haddock-library_1_11_0;
|
||||
|
||||
# core pkgs on later GHCs we can't provide at all
|
||||
system-cxx-std-lib = null;
|
||||
ghc-experimental = null;
|
||||
ghc-internal = null;
|
||||
ghc-platform = null;
|
||||
ghc-toolchain = null;
|
||||
}
|
||||
|
||||
@@ -65,54 +65,16 @@ in
|
||||
xhtml = null;
|
||||
Win32 = null;
|
||||
|
||||
# Become core packages in GHC >= 9.12
|
||||
file-io = doDistribute self.file-io_0_2_0;
|
||||
haddock-api = markBroken self.haddock-api_2_29_1; # no compatible release available
|
||||
haddock-library = doJailbreak (doDistribute self.haddock-library_1_11_0);
|
||||
|
||||
ghc-exactprint = doDistribute self.ghc-exactprint_1_10_0_0;
|
||||
|
||||
# “Unfortunately we are unable to support GHC 9.10.”
|
||||
apply-refact = dontDistribute (markBroken super.apply-refact);
|
||||
|
||||
stack =
|
||||
# Setup.hs depends on Cabal-syntax >= 3.14
|
||||
overrideCabal
|
||||
(drv: {
|
||||
setupHaskellDepends = drv.setupHaskellDepends or [ ] ++ [
|
||||
self.Cabal-syntax_3_14_2_0
|
||||
self.Cabal_3_14_2_0
|
||||
];
|
||||
# We need to tell GHC to ignore the Cabal core libraries while
|
||||
# compiling Setup.hs since it depends on Cabal >= 3.14.
|
||||
# ATTN: This override assumes we are using GHC 9.10.3 since we need
|
||||
# to give an exact Cabal version at the GHC (!) command line.
|
||||
# FIXME(@sternenseemann): make direct argument to generic-builder.nix
|
||||
env = drv.env or { } // {
|
||||
setupCompileFlags = lib.concatStringsSep " " [
|
||||
"-hide-package"
|
||||
"Cabal-syntax-3.12.1.0"
|
||||
"-hide-package"
|
||||
"Cabal-3.12.1.0"
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
# Stack itself depends on Cabal >= 3.14 which also needs to be updated for deps
|
||||
(
|
||||
super.stack.overrideScope (
|
||||
sself: ssuper:
|
||||
let
|
||||
upgradeCabal =
|
||||
drv:
|
||||
lib.pipe drv [
|
||||
(addBuildDepends [ sself.Cabal_3_14_2_0 ])
|
||||
(appendConfigureFlags [ "--constraint=Cabal>=3.14" ])
|
||||
];
|
||||
in
|
||||
{
|
||||
pantry = upgradeCabal ssuper.pantry_0_11_2;
|
||||
rio-prettyprint = upgradeCabal ssuper.rio-prettyprint;
|
||||
hackage-security = upgradeCabal ssuper.hackage-security;
|
||||
hpack = upgradeCabal sself.hpack_0_39_1;
|
||||
stack = upgradeCabal ssuper.stack;
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
#
|
||||
# Version upgrades
|
||||
#
|
||||
@@ -124,10 +86,6 @@ in
|
||||
# Jailbreaks
|
||||
#
|
||||
floskell = doJailbreak super.floskell; # base <4.20
|
||||
# 2025-04-09: filepath <1.5
|
||||
haddock-library =
|
||||
assert super.haddock-library.version == "1.11.0";
|
||||
doJailbreak super.haddock-library;
|
||||
tree-sitter = doJailbreak super.tree-sitter; # containers <0.7, filepath <1.5
|
||||
|
||||
#
|
||||
|
||||
@@ -73,7 +73,6 @@ with haskellLib;
|
||||
#
|
||||
|
||||
extensions = doDistribute self.extensions_0_1_1_0;
|
||||
ghc-exactprint = doDistribute self.ghc-exactprint_1_12_0_0;
|
||||
|
||||
#
|
||||
# Jailbreaks
|
||||
@@ -87,15 +86,6 @@ with haskellLib;
|
||||
'';
|
||||
}) super.cpphs;
|
||||
cabal-install-parsers = doJailbreak super.cabal-install-parsers; # base, Cabal-syntax, etc.
|
||||
ghc-exactprint_1_12_0_0 = addBuildDepends [
|
||||
# cabal2nix drops conditional block: impl (ghc >= 9.12)
|
||||
self.Diff
|
||||
self.extra
|
||||
self.ghc-paths
|
||||
self.silently
|
||||
self.syb
|
||||
self.HUnit
|
||||
] super.ghc-exactprint_1_12_0_0;
|
||||
timezone-series = doJailbreak super.timezone-series; # time <1.14
|
||||
timezone-olson = doJailbreak super.timezone-olson; # time <1.14
|
||||
cabal-plan = doJailbreak super.cabal-plan; # base <4.21
|
||||
@@ -122,9 +112,6 @@ with haskellLib;
|
||||
'';
|
||||
}) super.alex;
|
||||
|
||||
# https://github.com/sjakobi/newtype-generics/pull/28/files
|
||||
newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics);
|
||||
|
||||
# Test failure because of GHC bug:
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/25937
|
||||
# https://github.com/sol/interpolate/issues/20
|
||||
|
||||
@@ -81,13 +81,6 @@ with haskellLib;
|
||||
#
|
||||
|
||||
ghc-exactprint = doDistribute self.ghc-exactprint_1_14_0_0;
|
||||
hedgehog = doDistribute self.hedgehog_1_7;
|
||||
hie-bios = doDistribute (dontCheck self.hie-bios_0_19_0); # Tests access homeless-shelter.
|
||||
lifted-async = doDistribute self.lifted-async_0_11_0;
|
||||
parallel = doDistribute self.parallel_3_3_0_0;
|
||||
tagged = doDistribute self.tagged_0_8_10;
|
||||
unordered-containers = doDistribute self.unordered-containers_0_2_21;
|
||||
HTTP = doDistribute self.HTTP_4000_5_0;
|
||||
|
||||
#
|
||||
# Jailbreaks
|
||||
@@ -134,9 +127,6 @@ with haskellLib;
|
||||
] super.serialise
|
||||
);
|
||||
|
||||
# https://github.com/sjakobi/newtype-generics/pull/28/files
|
||||
newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics);
|
||||
|
||||
# haskell-debugger only works with ghc 9.14+
|
||||
haskell-debugger-view = doDistribute (unmarkBroken super.haskell-debugger-view);
|
||||
haskell-debugger = doDistribute (doJailbreak super.haskell-debugger); # hie-bios < 0.18, random >=1.3.1
|
||||
@@ -147,7 +137,6 @@ with haskellLib;
|
||||
self.extra
|
||||
self.ghc-paths
|
||||
self.silently
|
||||
self.syb
|
||||
self.HUnit
|
||||
] super.ghc-exactprint_1_14_0_0;
|
||||
|
||||
|
||||
@@ -49,14 +49,21 @@ self: super: {
|
||||
unix = null;
|
||||
# GHC only bundles the xhtml library if haddock is enabled, check if this is
|
||||
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
|
||||
xhtml = if self.ghc.hasHaddock or true then null else doDistribute self.xhtml_3000_4_0_0;
|
||||
xhtml = if self.ghc.hasHaddock or true then null else doDistribute self.xhtml_3000_4_1_0;
|
||||
Win32 = null;
|
||||
|
||||
# Becomes a core package in GHC >= 9.8
|
||||
semaphore-compat = doDistribute self.semaphore-compat_1_0_0;
|
||||
semaphore-compat = doDistribute self.semaphore-compat_2_0_1;
|
||||
|
||||
# Becomes a core package in GHC >= 9.10
|
||||
os-string = doDistribute self.os-string_2_0_10;
|
||||
os-string = doDistribute self.os-string_2_0_11;
|
||||
|
||||
# Become core packages in GHC >= 9.12
|
||||
haddock-library = doDistribute (doJailbreak self.haddock-library_1_11_0);
|
||||
haddock-api = doDistribute (doJailbreak self.haddock-api_2_27_0);
|
||||
|
||||
# Becomes a core package in GHC >= 9.12, but needs unix >= 2.8
|
||||
file-io = null;
|
||||
|
||||
# Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-experimental = null;
|
||||
@@ -138,7 +145,6 @@ self: super: {
|
||||
# https://github.com/kowainik/relude/issues/436
|
||||
relude = dontCheck super.relude;
|
||||
|
||||
haddock-library = doJailbreak super.haddock-library;
|
||||
path = self.path_0_9_5;
|
||||
|
||||
haskell-language-server =
|
||||
|
||||
@@ -64,10 +64,10 @@ in
|
||||
iserv-proxy = addBuildDepend self.libiserv super.iserv-proxy;
|
||||
|
||||
# Becomes a core package in GHC >= 9.8
|
||||
semaphore-compat = doDistribute self.semaphore-compat_1_0_0;
|
||||
semaphore-compat = doDistribute self.semaphore-compat_2_0_1;
|
||||
|
||||
# Becomes a core package in GHC >= 9.10
|
||||
os-string = doDistribute self.os-string_2_0_10;
|
||||
os-string = doDistribute self.os-string_2_0_11;
|
||||
|
||||
# Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-experimental = null;
|
||||
@@ -76,6 +76,11 @@ in
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Become core packages in GHC >= 9.12
|
||||
file-io = doDistribute self.file-io_0_2_0;
|
||||
haddock-api = doDistribute (doJailbreak self.haddock-api_2_29_1);
|
||||
haddock-library = doJailbreak (doDistribute self.haddock-library_1_11_0);
|
||||
|
||||
# Needs base-orphans for GHC < 9.8 / base < 4.19
|
||||
some = addBuildDepend self.base-orphans super.some;
|
||||
|
||||
@@ -105,9 +110,6 @@ in
|
||||
cabal-install-solver = doJailbreak super.cabal-install-solver;
|
||||
cabal-install = doJailbreak super.cabal-install;
|
||||
|
||||
# Forbids base >= 4.18, fix proposed: https://github.com/sjakobi/newtype-generics/pull/25
|
||||
newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics);
|
||||
|
||||
# Jailbreaks for servant <0.20
|
||||
servant-lucid = doJailbreak super.servant-lucid;
|
||||
|
||||
@@ -208,7 +210,6 @@ in
|
||||
ghc-lib = doDistribute self.ghc-lib_9_8_5_20250214;
|
||||
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_5_20250214;
|
||||
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
|
||||
haddock-library = doJailbreak super.haddock-library;
|
||||
inherit
|
||||
(
|
||||
let
|
||||
@@ -227,13 +228,16 @@ in
|
||||
self.retrie
|
||||
self.floskell
|
||||
self.markdown-unlit
|
||||
self.stan
|
||||
self.trial
|
||||
] super.haskell-language-server;
|
||||
hls-plugin-api = super.hls-plugin-api;
|
||||
hlint = self.hlint_3_8;
|
||||
lsp-types = super.lsp-types;
|
||||
ormolu = self.ormolu_0_7_4_0;
|
||||
ormolu = doJailbreak self.ormolu_0_7_4_0;
|
||||
retrie = doJailbreak (unmarkBroken super.retrie);
|
||||
stylish-haskell = self.stylish-haskell_0_14_6_0;
|
||||
stan = super.stan;
|
||||
stylish-haskell = doJailbreak self.stylish-haskell_0_14_6_0;
|
||||
}
|
||||
)
|
||||
apply-refact
|
||||
@@ -246,6 +250,7 @@ in
|
||||
lsp-types
|
||||
ormolu
|
||||
retrie
|
||||
stan
|
||||
stylish-haskell
|
||||
;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ in
|
||||
Win32 = null;
|
||||
|
||||
# Becomes a core package in GHC >= 9.10
|
||||
os-string = doDistribute self.os-string_2_0_10;
|
||||
os-string = doDistribute self.os-string_2_0_11;
|
||||
|
||||
# Become core packages in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-experimental = null;
|
||||
@@ -73,6 +73,11 @@ in
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Become core packages in GHC >= 9.12
|
||||
file-io = doDistribute self.file-io_0_2_0;
|
||||
haddock-api = markBroken self.haddock-api_2_29_1; # no compatible release available
|
||||
haddock-library = doJailbreak (doDistribute self.haddock-library_1_11_0);
|
||||
|
||||
#
|
||||
# Version upgrades
|
||||
#
|
||||
@@ -106,7 +111,6 @@ in
|
||||
# A given major version of ghc-exactprint only supports one version of GHC.
|
||||
ghc-exactprint = doDistribute super.ghc-exactprint_1_8_0_0;
|
||||
|
||||
haddock-library = doJailbreak super.haddock-library;
|
||||
ghc-lib = doDistribute self.ghc-lib_9_8_5_20250214;
|
||||
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_8_5_20250214;
|
||||
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_8_0_2;
|
||||
@@ -128,13 +132,16 @@ in
|
||||
self.retrie
|
||||
self.floskell
|
||||
self.markdown-unlit
|
||||
self.stan
|
||||
self.trial
|
||||
] super.haskell-language-server;
|
||||
hls-plugin-api = super.hls-plugin-api;
|
||||
hlint = self.hlint_3_8;
|
||||
lsp-types = super.lsp-types;
|
||||
ormolu = self.ormolu_0_7_4_0;
|
||||
ormolu = doJailbreak self.ormolu_0_7_4_0;
|
||||
retrie = doJailbreak (unmarkBroken super.retrie);
|
||||
stylish-haskell = self.stylish-haskell_0_14_6_0;
|
||||
stan = super.stan;
|
||||
stylish-haskell = doJailbreak self.stylish-haskell_0_14_6_0;
|
||||
}
|
||||
)
|
||||
apply-refact
|
||||
@@ -147,6 +154,7 @@ in
|
||||
lsp-types
|
||||
ormolu
|
||||
retrie
|
||||
stan
|
||||
stylish-haskell
|
||||
;
|
||||
}
|
||||
|
||||
@@ -2409,7 +2409,6 @@ broken-packages:
|
||||
- HackMail # failure in job https://hydra.nixos.org/build/233215224 at 2023-09-02
|
||||
- hactor # failure in job https://hydra.nixos.org/build/233254977 at 2023-09-02
|
||||
- hactors # failure in job https://hydra.nixos.org/build/233218599 at 2023-09-02
|
||||
- haddock-api # failure in job https://hydra.nixos.org/build/233216515 at 2023-09-02
|
||||
- haddock-leksah # failure in job https://hydra.nixos.org/build/233206878 at 2023-09-02
|
||||
- haddock-test # failure in job https://hydra.nixos.org/build/233246641 at 2023-09-02
|
||||
- hadoop-formats # failure in job https://hydra.nixos.org/build/233224647 at 2023-09-02
|
||||
@@ -2628,7 +2627,6 @@ broken-packages:
|
||||
- hasql-explain-tests # failure in job https://hydra.nixos.org/build/233247034 at 2023-09-02
|
||||
- hasql-generate # failure in job https://hydra.nixos.org/build/324107360 at 2026-03-15
|
||||
- hasql-generic # failure in job https://hydra.nixos.org/build/233204654 at 2023-09-02
|
||||
- hasql-mapping # failure in job https://hydra.nixos.org/build/324107379 at 2026-03-15
|
||||
- hasql-migration # failure in job https://hydra.nixos.org/build/295094132 at 2025-04-22
|
||||
- hasql-mover # failure in job https://hydra.nixos.org/build/295094128 at 2025-04-22
|
||||
- hasql-pipes # failure in job https://hydra.nixos.org/build/295094119 at 2025-04-22
|
||||
@@ -2773,7 +2771,6 @@ broken-packages:
|
||||
- hGelf # failure in job https://hydra.nixos.org/build/233203909 at 2023-09-02
|
||||
- hgeometric # failure in job https://hydra.nixos.org/build/233197856 at 2023-09-02
|
||||
- hgis # failure in job https://hydra.nixos.org/build/233200418 at 2023-09-02
|
||||
- hgmp # failure in job https://hydra.nixos.org/build/307519217 at 2025-09-19
|
||||
- hgom # failure in job https://hydra.nixos.org/build/233255569 at 2023-09-02
|
||||
- hgopher # failure in job https://hydra.nixos.org/build/233222066 at 2023-09-02
|
||||
- HGraphStorage # failure in job https://hydra.nixos.org/build/233217988 at 2023-09-02
|
||||
@@ -3296,7 +3293,6 @@ broken-packages:
|
||||
- ihaskell-parsec # failure in job https://hydra.nixos.org/build/233244271 at 2023-09-02
|
||||
- ihaskell-plot # failure in job https://hydra.nixos.org/build/233255936 at 2023-09-02
|
||||
- ihaskell-widgets # failure in job https://hydra.nixos.org/build/265955663 at 2024-07-14
|
||||
- ihp-pglistener # failure in job https://hydra.nixos.org/build/325267877 at 2026-04-12
|
||||
- illuminate # failure in job https://hydra.nixos.org/build/233219478 at 2023-09-02
|
||||
- image-type # failure in job https://hydra.nixos.org/build/233251466 at 2023-09-02
|
||||
- imagemagick # failure in job https://hydra.nixos.org/build/233598237 at 2023-09-02
|
||||
@@ -4087,7 +4083,6 @@ broken-packages:
|
||||
- mixpanel-client # failure in job https://hydra.nixos.org/build/233220132 at 2023-09-02
|
||||
- mkcabal # failure in job https://hydra.nixos.org/build/233202466 at 2023-09-02
|
||||
- ml-w # failure in job https://hydra.nixos.org/build/233251342 at 2023-09-02
|
||||
- mlkem # failure in job https://hydra.nixos.org/build/315098220 at 2025-11-29
|
||||
- mltool # failure in job https://hydra.nixos.org/build/233203849 at 2023-09-02
|
||||
- mm2 # failure in job https://hydra.nixos.org/build/233260048 at 2023-09-02
|
||||
- mmsyn2 # failure in job https://hydra.nixos.org/build/233201519 at 2023-09-02
|
||||
@@ -4979,7 +4974,6 @@ broken-packages:
|
||||
- postgresql-simple-interval # failure in job https://hydra.nixos.org/build/307611243 at 2025-09-19
|
||||
- postgresql-simple-named # failure in job https://hydra.nixos.org/build/233202481 at 2023-09-02
|
||||
- postgresql-simple-opts # failure in job https://hydra.nixos.org/build/252718901 at 2024-03-16
|
||||
- postgresql-simple-postgresql-types # failure in job https://hydra.nixos.org/build/327522032 at 2026-04-30
|
||||
- postgresql-simple-sop # failure in job https://hydra.nixos.org/build/233249757 at 2023-09-02
|
||||
- postgresql-simple-url # failure in job https://hydra.nixos.org/build/295096191 at 2025-04-22
|
||||
- postgresql-tx # failure in job https://hydra.nixos.org/build/252717914 at 2024-03-16
|
||||
@@ -5237,7 +5231,6 @@ broken-packages:
|
||||
- Range # failure in job https://hydra.nixos.org/build/233235824 at 2023-09-02
|
||||
- rangemin # failure in job https://hydra.nixos.org/build/233244031 at 2023-09-02
|
||||
- rank-product # failure in job https://hydra.nixos.org/build/233239589 at 2023-09-02
|
||||
- rapid # failure in job https://hydra.nixos.org/build/307521428 at 2025-09-19
|
||||
- rapid-term # failure in job https://hydra.nixos.org/build/233251731 at 2023-09-02
|
||||
- Rasenschach # failure in job https://hydra.nixos.org/build/234445901 at 2023-09-13
|
||||
- rating-chgk-info # failure in job https://hydra.nixos.org/build/233598034 at 2023-09-02
|
||||
@@ -7445,7 +7438,6 @@ broken-packages:
|
||||
- yesod-links # failure in job https://hydra.nixos.org/build/233257763 at 2023-09-02
|
||||
- yesod-lucid # failure in job https://hydra.nixos.org/build/233231687 at 2023-09-02
|
||||
- yesod-media-simple # failure in job https://hydra.nixos.org/build/307611606 at 2025-09-19
|
||||
- yesod-middleware-csp # failure in job https://hydra.nixos.org/build/295098382 at 2025-04-22
|
||||
- yesod-paginate # failure in job https://hydra.nixos.org/build/233218563 at 2023-09-02
|
||||
- yesod-pagination # failure in job https://hydra.nixos.org/build/233204022 at 2023-09-02
|
||||
- yesod-pnotify # failure in job https://hydra.nixos.org/build/233258047 at 2023-09-02
|
||||
|
||||
@@ -27,19 +27,18 @@
|
||||
default-package-overrides:
|
||||
- chs-cabal == 0.1.1.2 # matches Cabal 3.12 (GHC 9.10)
|
||||
- clash-lib-hedgehog < 1.9 # needs to match clash-lib from Stackage
|
||||
# 2026-01-23: dataframe >= 0.3.3.7 uses random-1.3, which breaks dependency coherence on 25.11, whose default version is random-1.2
|
||||
# TODO: when (likely in 25.x) Stackage bumps random to 1.3, review
|
||||
- dataframe == 0.3.3.6
|
||||
# 2025-12-26: Needs to match egison-pattern-src from Stackage LTS
|
||||
- egison-pattern-src-th-mode < 0.2.2
|
||||
- extensions == 0.1.0.2 # matches Cabal 3.12 (GHC 9.10)
|
||||
# 2026-06-29: needs to match futhark-0.26.3
|
||||
- futhark-manifest == 1.8.0.0
|
||||
# 2026-01-30: Needs to match hasql from Stackage LTS 24
|
||||
- hasql-notifications < 0.2.5.0
|
||||
# 2026-02-04: as requested by ghcide >= 2.13
|
||||
- hie-bios < 0.18.0
|
||||
- hiedb < 0.8.0
|
||||
# 2026-07-19: ghcide/haskell-debugger don't yet support hie-bios 0.20
|
||||
- hie-bios < 0.20
|
||||
# 2025-09-13: hnix 0.17.0 doesn't support hnix-store-core >= 0.8
|
||||
# https://github.com/haskell-nix/hnix/pull/1112
|
||||
# Note: When removing this, also remove hnix-store-core from maintainers/scripts/haskell/update-stackage.sh
|
||||
- hnix-store-core < 0.7
|
||||
- hnix-store-remote < 0.7
|
||||
# 2025-08-03: need to match stackage version of hosc
|
||||
@@ -51,10 +50,6 @@ default-package-overrides:
|
||||
# liquidhaskell(-boot) support one GHC at a time, so we choose the one matching the current GHC (9.10)
|
||||
- liquidhaskell == 0.9.10.*
|
||||
- liquidhaskell-boot == 0.9.10.*
|
||||
# 2025-03-07: HLS and many other pkgs don't support lsp >= 2.8 (yet)
|
||||
- lsp < 2.8
|
||||
- lsp-test < 0.18
|
||||
- lsp-types < 2.4
|
||||
# Needs to match microlens == 0.4.* in Stackage LTS 24
|
||||
- microlens-pro < 0.2.0.4
|
||||
# 2026-04-06: 4.0.10 merely adjusts to dependencies that are incompatible with our LTS
|
||||
@@ -64,6 +59,8 @@ default-package-overrides:
|
||||
- pandoc-crossref == 0.3.21
|
||||
# 2025-12-19: Needs to match Stackage version of rhine
|
||||
- rhine-bayes < 1.6
|
||||
# 2026-06-24: compatibility with mighttpd2-4.0.9
|
||||
- wai-app-file-cgi < 3.2
|
||||
# 2026-02-08: compatibility with crypton-x509* in Stackage LTS 24
|
||||
- x509-ocsp < 0.4.1.0
|
||||
# keep-sorted end
|
||||
@@ -77,6 +74,7 @@ extra-packages:
|
||||
- Cabal == 3.14.*
|
||||
- Cabal == 3.16.* # version required for cabal-install and other packages
|
||||
- cabal-add == 0.1 # 2025-09-09: Only needed for hls 2.11 can be removed once we are past it.
|
||||
- Cabal-syntax == 3.6.* # required for the GHC 9.0.2 package set
|
||||
- Cabal-syntax == 3.10.*
|
||||
- Cabal-syntax == 3.12.*
|
||||
- Cabal-syntax == 3.14.*
|
||||
@@ -89,7 +87,7 @@ extra-packages:
|
||||
- ghc-exactprint == 1.6.* # 2023-03-30: needed for GHC == 9.4
|
||||
- ghc-exactprint == 1.7.* # 2025-03-09: needed for GHC == 9.6
|
||||
- ghc-exactprint == 1.8.* # 2024-05-20: needed for GHC == 9.8
|
||||
- ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
|
||||
- ghc-exactprint == 1.10.* # 2024-08-27: needed for GHC == 9.10
|
||||
- ghc-exactprint == 1.12.* # 2025-10-15: needed for GHC == 9.12
|
||||
- ghc-lib == 9.6.* # 2022-02-17: preserve for GHC 9.4
|
||||
- ghc-lib == 9.8.* # 2025-12-11: preserve for GHC 9.6, 9.8
|
||||
@@ -100,7 +98,7 @@ extra-packages:
|
||||
- ghc-lib-parser-ex == 9.8.* # 2024-12-26: preserve for GHC 9.6, 9.8
|
||||
- ghc-tags == 1.7.* # 2023-02-18: preserve for ghc-lib == 9.6.*
|
||||
- ghc-tags == 1.8.* # 2023-02-18: preserve for ghc-lib == 9.8.*
|
||||
- ghc-typelits-natnormalise < 0.8 # 2025-09-15: Stackage is stuck at 0.7.10
|
||||
- haddock-api == 2.27.* # 2026-05-22: latest version compatible with GHC 9.4
|
||||
- happy == 1.20.* # for ghc-lib-parser == 9.6.*
|
||||
- hashable < 1.5 # 2025-07-30: hashable >= 1.5 requires GHC >= 9.6
|
||||
- hasql < 1.7 # 2025-01-19: Needed for building postgrest
|
||||
@@ -112,21 +110,25 @@ extra-packages:
|
||||
- hlint == 3.6.* # 2025-04-14: needed for hls with ghc-lib-parser 9.6
|
||||
- hlint == 3.8.* # 2025-09-21: needed for hls with ghc-lib-parser 9.8
|
||||
- hpack == 0.39.1 # 2026-03-15: to match upstream stack-3.9.3
|
||||
- insert-ordered-containers < 0.3 # 2026-05-25: Needed for building postgrest
|
||||
- language-javascript == 0.7.0.0 # required by purescript
|
||||
- lawful-conversions < 0.2 # 2026-05-25: Needed for building postgrest
|
||||
- network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
|
||||
- ormolu == 0.7.2.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
|
||||
- ormolu == 0.7.4.0 # 2023-09-21: for ghc-lib-parser 9.8 compat
|
||||
- path == 0.9.5 # 2025-09-21: Pin for hls on ghc 9.4
|
||||
- postgresql-binary < 0.14 # 2025-01-19: Needed for building postgrest
|
||||
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
|
||||
- ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
|
||||
- ShellCheck == 0.10.0 # 2026-05-30: pinned by haskell-ci
|
||||
- simple-get-opt < 0.5 # 2025-05-01: for crux-0.7.2
|
||||
- stylish-haskell == 0.14.5.0 # 2025-04-14: needed for hls with ghc-lib 9.6
|
||||
- stylish-haskell == 0.14.6.0 # 2025-09-21: needed for hls with ghc-lib 9.8
|
||||
- stylish-haskell == 0.15.0.1 # 2025-04-14: needed for hls with ghc-lib 9.10
|
||||
- swagger2 < 2.9 # 2026-05-25: Needed for building postgrest
|
||||
- tar == 0.6.3.0 # 2025-08-17: last version to not require file-io and directory-ospath-streaming (for GHC < 9.6)
|
||||
- text-builder < 1 # 2025-08-27: Needed for building postgrest
|
||||
- text-builder-dev < 0.4 # 2025-08-27: Needed for building postgrest
|
||||
- validation == 1.1.5 # 2026-06-10: Needed for building geojson 4.1
|
||||
# keep-sorted end
|
||||
|
||||
# keep-sorted start skip_lines=1 case=no
|
||||
@@ -141,11 +143,14 @@ package-maintainers:
|
||||
- basic-sop
|
||||
- commutative-semigroups
|
||||
- generics-sop
|
||||
- ghcide
|
||||
- ghcjs-base
|
||||
- ghcjs-dom
|
||||
- ghcjs-dom-javascript
|
||||
- ghcjs-dom-jsaddle
|
||||
- haskell-debugger
|
||||
- hie-bios
|
||||
- hiedb
|
||||
- jsaddle
|
||||
- jsaddle-clib
|
||||
- jsaddle-dom
|
||||
@@ -156,6 +161,9 @@ package-maintainers:
|
||||
- large-records
|
||||
- lens-sop
|
||||
- linux-namespaces
|
||||
- lsp
|
||||
- lsp-test
|
||||
- lsp-types
|
||||
- monoidal-containers
|
||||
- proto-lens-arbitrary
|
||||
- proto3-suite
|
||||
@@ -377,7 +385,6 @@ package-maintainers:
|
||||
- Agda
|
||||
- agda2hs
|
||||
- irc-client
|
||||
- lambdabot
|
||||
- shake
|
||||
nomeata:
|
||||
- cabal-plan-bounds
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -136,6 +136,8 @@ dont-distribute-packages:
|
||||
- ast-monad-json
|
||||
- astview
|
||||
- async-ajax
|
||||
- atelier-db
|
||||
- atelier-testing
|
||||
- aterm-utils
|
||||
- atlassian-connect-core
|
||||
- atmos-dimensional-tf
|
||||
@@ -189,6 +191,12 @@ dont-distribute-packages:
|
||||
- babylon
|
||||
- backblaze-b2-hs
|
||||
- backdropper
|
||||
- baikai
|
||||
- baikai-claude
|
||||
- baikai-effectful
|
||||
- baikai-kit
|
||||
- baikai-openai
|
||||
- baikai-trace-otel
|
||||
- balkon
|
||||
- ballast
|
||||
- bamboo
|
||||
@@ -213,6 +221,7 @@ dont-distribute-packages:
|
||||
- battleships
|
||||
- bayes-stack
|
||||
- bbi
|
||||
- bcp47-orphans
|
||||
- bdcs
|
||||
- bdcs-api
|
||||
- beam-th
|
||||
@@ -448,6 +457,9 @@ dont-distribute-packages:
|
||||
- claferIG
|
||||
- claferwiki
|
||||
- clash
|
||||
- clash-protocols
|
||||
- clash-protocols-base
|
||||
- clash-vexriscv
|
||||
- classify-frog
|
||||
- classy-effects
|
||||
- classy-effects-th
|
||||
@@ -592,6 +604,7 @@ dont-distribute-packages:
|
||||
- CPBrainfuck
|
||||
- cprng-aes
|
||||
- cprng-aes-effect
|
||||
- cql
|
||||
- cql-io-tinylog
|
||||
- cqrs-example
|
||||
- cqrs-memory
|
||||
@@ -639,6 +652,7 @@ dont-distribute-packages:
|
||||
- dahdit-network
|
||||
- dahdit-test
|
||||
- daino
|
||||
- danecheck
|
||||
- Dangerous
|
||||
- dapi
|
||||
- darcs-benchmark
|
||||
@@ -649,7 +663,6 @@ dont-distribute-packages:
|
||||
- darcswatch
|
||||
- darkplaces-demo
|
||||
- darkplaces-rcon-util
|
||||
- dash-haskell
|
||||
- data-basic
|
||||
- data-cycle
|
||||
- data-default-extra
|
||||
@@ -664,6 +677,11 @@ dont-distribute-packages:
|
||||
- datadog-tracing
|
||||
- datafix
|
||||
- dataflow
|
||||
- dataframe
|
||||
- dataframe-huggingface
|
||||
- dataframe-lazy
|
||||
- dataframe-parquet
|
||||
- dataframe-parquet-th
|
||||
- datasets
|
||||
- date-conversions
|
||||
- dbjava
|
||||
@@ -689,6 +707,7 @@ dont-distribute-packages:
|
||||
- ddci-core
|
||||
- dde
|
||||
- debug
|
||||
- decidable
|
||||
- decimal-arithmetic
|
||||
- dedukti
|
||||
- DeepArrow
|
||||
@@ -729,6 +748,8 @@ dont-distribute-packages:
|
||||
- dhscanner-kbapi
|
||||
- dhscanner-kbgen
|
||||
- dia-functions
|
||||
- diagnostician-html
|
||||
- diagnostician-terminal
|
||||
- diagrams-html5
|
||||
- diagrams-reflex
|
||||
- diagrams-wx
|
||||
@@ -762,6 +783,7 @@ dont-distribute-packages:
|
||||
- DMuCheck
|
||||
- DnaProteinAlignment
|
||||
- dnf-repo
|
||||
- dnsbase
|
||||
- dobutokO-poetry
|
||||
- dobutokO-poetry-general
|
||||
- dobutokO-poetry-general-languages
|
||||
@@ -821,10 +843,12 @@ dont-distribute-packages:
|
||||
- EditTimeReport
|
||||
- effect-monad
|
||||
- effective-aspects-mzv
|
||||
- eigen-hhlo
|
||||
- ekg-carbon
|
||||
- elasticsearch-interchange
|
||||
- electrs-client
|
||||
- elerea-examples
|
||||
- eliminators
|
||||
- elliptic-curve
|
||||
- elsa
|
||||
- ema-extra
|
||||
@@ -853,6 +877,9 @@ dont-distribute-packages:
|
||||
- ersatz-viz
|
||||
- esotericbot
|
||||
- EsounD
|
||||
- esqueleto
|
||||
- esqueleto-compat
|
||||
- esqueleto-postgis
|
||||
- esqueleto-streaming
|
||||
- estreps
|
||||
- Etage-Graph
|
||||
@@ -892,6 +919,11 @@ dont-distribute-packages:
|
||||
- every-bit-counts
|
||||
- exact-kantorovich
|
||||
- exference
|
||||
- exinst-aeson
|
||||
- exinst-base
|
||||
- exinst-bytes
|
||||
- exinst-cereal
|
||||
- exinst-serialise
|
||||
- exist-instances
|
||||
- existential
|
||||
- expand
|
||||
@@ -1052,6 +1084,7 @@ dont-distribute-packages:
|
||||
- functor
|
||||
- functor-combo
|
||||
- functor-monad
|
||||
- functor-products
|
||||
- funflow
|
||||
- funflow-nix
|
||||
- funion
|
||||
@@ -1265,7 +1298,6 @@ dont-distribute-packages:
|
||||
- hackage2twitter
|
||||
- hackmanager
|
||||
- haddock
|
||||
- haddocset
|
||||
- hadoop-tools
|
||||
- haggis
|
||||
- hails-bin
|
||||
@@ -1279,6 +1311,7 @@ dont-distribute-packages:
|
||||
- halma-gui
|
||||
- halma-telegram-bot
|
||||
- hamusic
|
||||
- hanalyze
|
||||
- hans-pcap
|
||||
- happlets-lib-gtk
|
||||
- HAppS-Data
|
||||
@@ -1327,9 +1360,10 @@ dont-distribute-packages:
|
||||
- haskell-admin-health
|
||||
- haskell-admin-managed-functions
|
||||
- haskell-aliyun
|
||||
- haskell-bee-redis
|
||||
- haskell-bee-stm
|
||||
- haskell-bitmex-client
|
||||
- haskell-debugger
|
||||
- haskell-docs
|
||||
- haskell-eigen-util
|
||||
- haskell-ftp
|
||||
- haskell-lsp
|
||||
@@ -1337,6 +1371,7 @@ dont-distribute-packages:
|
||||
- haskell-opentimestamps
|
||||
- haskell-opentimestamps-client
|
||||
- haskell-pdf-presenter
|
||||
- haskell-pgmq
|
||||
- haskell-platform-test
|
||||
- haskell-reflect
|
||||
- haskell-src-exts-observe
|
||||
@@ -1384,6 +1419,7 @@ dont-distribute-packages:
|
||||
- haskoin-crypto
|
||||
- haskoin-protocol
|
||||
- haskoin-script
|
||||
- haskoin-wallet
|
||||
- haskoon
|
||||
- haskoon-httpspec
|
||||
- haskoon-salvia
|
||||
@@ -1402,7 +1438,6 @@ dont-distribute-packages:
|
||||
- hasloGUI
|
||||
- hasql-postgres
|
||||
- hasql-postgres-options
|
||||
- hasql-postgresql-types
|
||||
- hasql-queue
|
||||
- hasql-streams-core
|
||||
- hasql-streams-example
|
||||
@@ -1423,6 +1458,7 @@ dont-distribute-packages:
|
||||
- Hayoo
|
||||
- hback
|
||||
- hbayes
|
||||
- hbayesian
|
||||
- hbb
|
||||
- hbf
|
||||
- hbro
|
||||
@@ -1438,7 +1474,6 @@ dont-distribute-packages:
|
||||
- hdbi-tests
|
||||
- hdiff
|
||||
- hdirect
|
||||
- hdocs
|
||||
- hdph
|
||||
- heart-app
|
||||
- heatitup
|
||||
@@ -1551,8 +1586,8 @@ dont-distribute-packages:
|
||||
- hmeap-utils
|
||||
- hmep
|
||||
- HMock
|
||||
- hMPC
|
||||
- hmt-diagrams
|
||||
- hnix-store-db
|
||||
- HNM
|
||||
- hnormalise
|
||||
- hob
|
||||
@@ -1657,6 +1692,7 @@ dont-distribute-packages:
|
||||
- hspec-pg-transact
|
||||
- hspec-setup
|
||||
- hspec-shouldbe
|
||||
- hspec-webdriver
|
||||
- hspecVariant
|
||||
- hsprocess
|
||||
- hsql-mysql
|
||||
@@ -1667,6 +1703,7 @@ dont-distribute-packages:
|
||||
- hsqml-demo-morris
|
||||
- hsqml-morris
|
||||
- hsreadability
|
||||
- hsrs
|
||||
- hssourceinfo
|
||||
- hssqlppp-th
|
||||
- hstar
|
||||
@@ -1690,6 +1727,7 @@ dont-distribute-packages:
|
||||
- http-response-decoder
|
||||
- http-tower-hs
|
||||
- http2-client-grpc
|
||||
- http2-client-grpc-effectful
|
||||
- http2-grpc-proto-lens
|
||||
- http2-grpc-proto3-wire
|
||||
- http3
|
||||
@@ -1748,6 +1786,7 @@ dont-distribute-packages:
|
||||
- hylotab
|
||||
- hyloutils
|
||||
- hyperbole
|
||||
- hyperbole-oauth2
|
||||
- hyperpublic
|
||||
- ide-backend
|
||||
- ide-backend-server
|
||||
@@ -1756,9 +1795,11 @@ dont-distribute-packages:
|
||||
- ideas-statistics
|
||||
- identicon-style-squares
|
||||
- idna
|
||||
- idnaparse
|
||||
- iException
|
||||
- ige-mac-integration
|
||||
- igrf
|
||||
- ihaskell-dataframe
|
||||
- ihaskell-inline-r
|
||||
- ihaskell-rlangqq
|
||||
- ihaskell-symtegration
|
||||
@@ -1811,7 +1852,9 @@ dont-distribute-packages:
|
||||
- IORefCAS
|
||||
- ipatch
|
||||
- ipc
|
||||
- ipedb
|
||||
- ipld-cid
|
||||
- ipldm
|
||||
- ipprint
|
||||
- iptadmin
|
||||
- irc-fun-bot
|
||||
@@ -1930,6 +1973,9 @@ dont-distribute-packages:
|
||||
- keid-geometry
|
||||
- keid-resource-gltf
|
||||
- keid-sound-openal
|
||||
- keiro-core
|
||||
- keiro-dsl
|
||||
- keiro-migrations
|
||||
- kerry
|
||||
- kevin
|
||||
- key-vault
|
||||
@@ -1942,6 +1988,13 @@ dont-distribute-packages:
|
||||
- KiCS-debugger
|
||||
- KiCS-prophecy
|
||||
- kif-parser
|
||||
- kind-integer
|
||||
- kind-rational
|
||||
- kioku-cli
|
||||
- kioku-core
|
||||
- kioku-migrate
|
||||
- kioku-migrations
|
||||
- kiroku-store-migrations
|
||||
- kit
|
||||
- kmeans-par
|
||||
- kmeans-vector
|
||||
@@ -2064,6 +2117,7 @@ dont-distribute-packages:
|
||||
- list-t-attoparsec
|
||||
- list-t-html-parser
|
||||
- list-tuple
|
||||
- list-witnesses
|
||||
- listenbrainz-client
|
||||
- liszt
|
||||
- lit
|
||||
@@ -2159,6 +2213,7 @@ dont-distribute-packages:
|
||||
- manifold-random
|
||||
- Map
|
||||
- marionetta
|
||||
- marionette-effectful
|
||||
- markdown-pap
|
||||
- markdown2svg
|
||||
- markov-processes
|
||||
@@ -2197,8 +2252,6 @@ dont-distribute-packages:
|
||||
- meta-par-accelerate
|
||||
- MetaObject
|
||||
- metaplug
|
||||
- metar
|
||||
- metar-http
|
||||
- Metrics
|
||||
- metro
|
||||
- metro-socket
|
||||
@@ -2224,6 +2277,7 @@ dont-distribute-packages:
|
||||
- minirotate
|
||||
- mismi-kernel
|
||||
- mismi-s3-core
|
||||
- miso-css
|
||||
- miss
|
||||
- miss-porcelain
|
||||
- missing-py2
|
||||
@@ -2262,6 +2316,12 @@ dont-distribute-packages:
|
||||
- mongrel2-handler
|
||||
- monky
|
||||
- Monocle
|
||||
- monoidmap
|
||||
- monoidmap-aeson
|
||||
- monoidmap-examples
|
||||
- monoidmap-hashable
|
||||
- monoidmap-internal
|
||||
- monoidmap-quickcheck
|
||||
- monomer
|
||||
- monomer-flatpak-example
|
||||
- monomer-hagrid
|
||||
@@ -2350,6 +2410,7 @@ dont-distribute-packages:
|
||||
- mysql-simple-typed
|
||||
- myTestlll
|
||||
- mywatch
|
||||
- n-tuple
|
||||
- n2o-web
|
||||
- NaCl
|
||||
- nakadi-client
|
||||
@@ -2417,6 +2478,7 @@ dont-distribute-packages:
|
||||
- nonlinear-optimization-ad
|
||||
- nonlinear-optimization-backprop
|
||||
- NoSlow
|
||||
- nostr
|
||||
- not-gloss
|
||||
- not-gloss-examples
|
||||
- notmuch-web
|
||||
@@ -2462,6 +2524,7 @@ dont-distribute-packages:
|
||||
- ogma-language-fret-cs
|
||||
- ogma-language-fret-reqs
|
||||
- ois-input-manager
|
||||
- okf-cli
|
||||
- olwrapper
|
||||
- om-kubernetes
|
||||
- online-csv
|
||||
@@ -2483,6 +2546,7 @@ dont-distribute-packages:
|
||||
- optimal-blocks
|
||||
- optimusprime
|
||||
- optparse-enum
|
||||
- orbits
|
||||
- orchid
|
||||
- orchid-demo
|
||||
- order-maintenance
|
||||
@@ -2561,11 +2625,16 @@ dont-distribute-packages:
|
||||
- persistent-hssqlppp
|
||||
- persistent-iproute
|
||||
- persistent-map
|
||||
- persistent-pagination
|
||||
- persistent-postgresql
|
||||
- persistent-protobuf
|
||||
- persistent-sql-lifted
|
||||
- persistent-typed-db
|
||||
- persona-idp
|
||||
- peyotls
|
||||
- peyotls-codec
|
||||
- pg-entity
|
||||
- pg-migrate-test-support
|
||||
- pgmq-config
|
||||
- pgmq-effectful
|
||||
- pgmq-hasql
|
||||
@@ -2621,6 +2690,10 @@ dont-distribute-packages:
|
||||
- plugins-auto
|
||||
- pms-application-service
|
||||
- pms-domain-service
|
||||
- pms-infra-agent-process
|
||||
- pms-infra-agent-serial
|
||||
- pms-infra-agent-server
|
||||
- pms-infra-agent-socket
|
||||
- pms-infra-cmdrun
|
||||
- pms-infra-filesystem
|
||||
- pms-infra-procspawn
|
||||
@@ -2672,6 +2745,7 @@ dont-distribute-packages:
|
||||
- poseidon
|
||||
- poseidon-postgis
|
||||
- postgresql-common-persistent
|
||||
- postgresql-migration-persistent
|
||||
- postgresql-pure
|
||||
- postgresql-simple-ltree
|
||||
- postgresql-simple-queue
|
||||
@@ -2778,7 +2852,10 @@ dont-distribute-packages:
|
||||
- queuelike
|
||||
- quic-simple
|
||||
- quick-process
|
||||
- quickcheck-groups
|
||||
- quickcheck-monoid-subclasses
|
||||
- quickcheck-poly
|
||||
- quickcheck-quid
|
||||
- quickcheck-regex
|
||||
- quickcheck-relaxng
|
||||
- quicktest
|
||||
@@ -2977,6 +3054,7 @@ dont-distribute-packages:
|
||||
- rv
|
||||
- s-expression
|
||||
- S3
|
||||
- safe-coloured-text-layout-gen
|
||||
- safe-coupling
|
||||
- safe-failure-cme
|
||||
- safe-plugins
|
||||
@@ -3133,6 +3211,17 @@ dont-distribute-packages:
|
||||
- shibuya-kafka-adapter
|
||||
- shibuya-metrics
|
||||
- shibuya-pgmq-adapter
|
||||
- shikumi
|
||||
- shikumi-cache
|
||||
- shikumi-cache-postgres
|
||||
- shikumi-cache-redis
|
||||
- shikumi-compile
|
||||
- shikumi-eval
|
||||
- shikumi-okf
|
||||
- shikumi-optimize
|
||||
- shikumi-tools
|
||||
- shikumi-trace
|
||||
- shikumi-trace-otel
|
||||
- shine-varying
|
||||
- short-vec
|
||||
- short-vec-lens
|
||||
@@ -3171,6 +3260,9 @@ dont-distribute-packages:
|
||||
- SimpleLog
|
||||
- SimpleServer
|
||||
- simseq
|
||||
- singleton-nats
|
||||
- singletons-base
|
||||
- singletons-default
|
||||
- singletons-presburger
|
||||
- siphon
|
||||
- siren-json
|
||||
@@ -3481,6 +3573,7 @@ dont-distribute-packages:
|
||||
- toxcore-c
|
||||
- toysolver
|
||||
- tpb
|
||||
- tpdb
|
||||
- trace-embrace
|
||||
- tracing-control
|
||||
- trajectory
|
||||
@@ -3545,6 +3638,7 @@ dont-distribute-packages:
|
||||
- type-sub-th
|
||||
- TypeClass
|
||||
- typed-encoding-encoding
|
||||
- typed-fsm
|
||||
- typed-streams
|
||||
- typedflow
|
||||
- TypeIlluminator
|
||||
@@ -3578,6 +3672,8 @@ dont-distribute-packages:
|
||||
- uniqueness-periods-vector-filters
|
||||
- uniqueness-periods-vector-general
|
||||
- uniqueness-periods-vector-properties
|
||||
- units
|
||||
- units-defs
|
||||
- unitym-servant
|
||||
- unitym-yesod
|
||||
- universal
|
||||
@@ -3677,6 +3773,7 @@ dont-distribute-packages:
|
||||
- waldo
|
||||
- warp-grpc
|
||||
- warp-quic
|
||||
- warp-s2n-tls
|
||||
- warped
|
||||
- warpZ-tls
|
||||
- WashNGo
|
||||
@@ -3695,7 +3792,9 @@ dont-distribute-packages:
|
||||
- WebBits-multiplate
|
||||
- WebCont
|
||||
- webcrank-wai
|
||||
- webdriver
|
||||
- webdriver-w3c
|
||||
- webdriver-wrapper
|
||||
- webify
|
||||
- webserver
|
||||
- websnap
|
||||
|
||||
@@ -38,6 +38,7 @@ self: super: {
|
||||
Cabal-syntax = doDistribute self.Cabal-syntax_3_16_1_0;
|
||||
containers = doDistribute self.containers_0_8;
|
||||
exceptions = doDistribute self.exceptions_0_10_12;
|
||||
file-io = markBroken self.file-io_0_2_0;
|
||||
filepath = doDistribute self.filepath_1_5_5_0;
|
||||
ghc-bignum = null;
|
||||
ghc-boot = null;
|
||||
@@ -49,12 +50,14 @@ self: super: {
|
||||
ghc-platform = null;
|
||||
ghc-prim = null;
|
||||
ghci = null;
|
||||
haddock-api = markBroken self.haddock-api_2_29_1; # depends on ghc
|
||||
haddock-library = markBroken self.haddock-library_1_11_0; # depends on ghc
|
||||
haskeline = doDistribute self.haskeline_0_8_4_1;
|
||||
hpc = markBroken self.hpc_0_7_0_2;
|
||||
integer-gmp = markBroken self.integer-gmp_1_1;
|
||||
libiserv = null;
|
||||
mtl = doDistribute self.mtl_2_3_2;
|
||||
os-string = doDistribute self.os-string_2_0_10;
|
||||
os-string = doDistribute self.os-string_2_0_11;
|
||||
parsec = doDistribute self.parsec_3_1_18_0;
|
||||
pretty = markBroken self.pretty_1_1_3_6;
|
||||
rts = null;
|
||||
@@ -63,10 +66,10 @@ self: super: {
|
||||
system-cxx-std-lib = null;
|
||||
template-haskell = null;
|
||||
terminfo = doDistribute self.terminfo_0_4_1_7;
|
||||
time = doDistribute self.time_1_15;
|
||||
time = doDistribute self.time_1_16;
|
||||
transformers = doDistribute self.transformers_0_6_3_0;
|
||||
unix = markBroken self.unix_2_8_8_0;
|
||||
xhtml = markBroken self.xhtml_3000_4_0_0;
|
||||
xhtml = markBroken self.xhtml_3000_4_1_0;
|
||||
|
||||
# MicroHs replacements for widely used libraries
|
||||
array = self.array-mhs;
|
||||
|
||||
@@ -130,6 +130,10 @@ builtins.intersectAttrs super {
|
||||
# Tests access homeless-shelter.
|
||||
hie-bios = dontCheck super.hie-bios;
|
||||
|
||||
# The test suite depends on an impure cabal-install installation in
|
||||
# $HOME, which we don't have in our build sandbox.
|
||||
cabal-install-parsers = dontCheck super.cabal-install-parsers;
|
||||
|
||||
###########################################
|
||||
### END HASKELL-LANGUAGE-SERVER SECTION ###
|
||||
###########################################
|
||||
@@ -1139,13 +1143,6 @@ builtins.intersectAttrs super {
|
||||
];
|
||||
}) super.lsp-test;
|
||||
|
||||
lsp_2_8_0_0 = doDistribute (
|
||||
super.lsp_2_8_0_0.override {
|
||||
lsp-types = self.lsp-types_2_4_0_0;
|
||||
}
|
||||
);
|
||||
lsp-types_2_4_0_0 = doDistribute super.lsp-types_2_4_0_0;
|
||||
|
||||
# the test suite attempts to run the binaries built in this package
|
||||
# through $PATH but they aren't in $PATH
|
||||
dhall-lsp-server = dontCheck super.dhall-lsp-server;
|
||||
@@ -1286,6 +1283,8 @@ builtins.intersectAttrs super {
|
||||
ln -sf git-annex git-remote-tor-annex
|
||||
PATH+=":$PWD"
|
||||
|
||||
checkFlagsArray+=("-J$NIX_BUILD_CORES")
|
||||
|
||||
echo checkFlags: $checkFlags ''${checkFlagsArray:+"''${checkFlagsArray[@]}"}
|
||||
|
||||
# Doesn't use Cabal's test mechanism
|
||||
@@ -1671,6 +1670,15 @@ builtins.intersectAttrs super {
|
||||
(disableCabalFlag "icu")
|
||||
];
|
||||
|
||||
# Tests spawn ghc with -fplugin and need this package's in-place package db.
|
||||
# The trailing colon keeps GHC's default package db in the package path.
|
||||
# https://hydra.nixos.org/build/329190094
|
||||
ghc-typelits-natnormalise = overrideCabal (drv: {
|
||||
preCheck = (drv.preCheck or "") + ''
|
||||
export NIX_GHC_PACKAGE_PATH_FOR_TEST=$PWD/dist/package.conf.inplace/:$packageConfDir:
|
||||
'';
|
||||
}) super.ghc-typelits-natnormalise;
|
||||
|
||||
# based on https://github.com/gibiansky/IHaskell/blob/aafeabef786154d81ab7d9d1882bbcd06fc8c6c4/release.nix
|
||||
ihaskell = overrideCabal (drv: {
|
||||
# ihaskell's cabal file forces building a shared executable, which we need
|
||||
|
||||
36879
pkgs/development/haskell-modules/hackage-packages.nix
generated
36879
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,85 @@
|
||||
diff -rN -u old-darcs.net/darcs.cabal new-darcs.net/darcs.cabal
|
||||
--- old-darcs.net/darcs.cabal 2025-09-13 02:45:32.790227974 +0200
|
||||
+++ new-darcs.net/darcs.cabal 2025-09-13 02:45:32.791227985 +0200
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
custom-setup
|
||||
setup-depends: base >= 4.10 && < 4.21,
|
||||
- Cabal >= 2.4 && < 3.13,
|
||||
+ Cabal >= 2.4 && < 3.15,
|
||||
process >= 1.2.3.0 && < 1.7,
|
||||
filepath >= 1.4.1 && < 1.5.0.0,
|
||||
directory >= 1.2.7 && < 1.4
|
||||
--- old-darcs.net/Setup.hs 2026-06-22 14:55:26.775706597 +0200
|
||||
+++ new-darcs.net/Setup.hs 2026-06-22 14:56:31.996746207 +0200
|
||||
--- tmp2.hs 2026-06-22 14:55:26.775706597 +0200
|
||||
+++ /home/lukas/tmp.hs 2026-06-22 15:25:23.957579360 +0200
|
||||
--- tmp2.hs 2026-06-22 14:55:26.775706597 +0200
|
||||
+++ /home/lukas/tmp.hs 2026-06-22 15:28:17.448848236 +0200
|
||||
@@ -2,6 +2,7 @@
|
||||
-- portions copyright (c) 2008 David Roundy
|
||||
-- portions copyright (c) 2007-2009 Judah Jacobson
|
||||
{-# OPTIONS_GHC -Wall #-}
|
||||
+{-# LANGUAGE CPP #-}
|
||||
import Distribution.Simple
|
||||
( defaultMainWithHooks, UserHooks(..), simpleUserHooks )
|
||||
import Distribution.PackageDescription ( PackageDescription )
|
||||
@@ -25,8 +26,17 @@
|
||||
import System.IO ( openFile, IOMode(..) )
|
||||
import System.Process (callProcess, runProcess)
|
||||
import Data.List( isInfixOf )
|
||||
+#if MIN_VERSION_Cabal_syntax(3,14,0)
|
||||
+import Distribution.Utils.Path ( (</>), interpretSymbolicPathCWD, makeRelativePathEx )
|
||||
+#else
|
||||
import System.FilePath ( (</>) )
|
||||
|
||||
+-- Shims so we can use the Cabal >= 3.14 API
|
||||
+interpretSymbolicPathCWD, makeRelativePathEx :: FilePath -> FilePath
|
||||
+interpretSymbolicPathCWD = id
|
||||
+makeRelativePathEx = id
|
||||
+#endif
|
||||
+
|
||||
import qualified Control.Exception as Exception
|
||||
|
||||
catchAny :: IO a -> (Exception.SomeException -> IO a) -> IO a
|
||||
@@ -73,22 +83,26 @@
|
||||
|
||||
buildManpage :: LocalBuildInfo -> IO ()
|
||||
buildManpage lbi = do
|
||||
- have_darcs_exe_dir <- doesDirectoryExist (buildDir lbi </> "darcs")
|
||||
+ have_darcs_exe_dir <- doesDirectoryExist
|
||||
+ $ interpretSymbolicPathCWD (buildDir lbi </> makeRelativePathEx "darcs")
|
||||
when have_darcs_exe_dir $ do
|
||||
- let darcs = buildDir lbi </> "darcs/darcs"
|
||||
- manpage = buildDir lbi </> "darcs/darcs.1"
|
||||
+ let darcs = interpretSymbolicPathCWD
|
||||
+ $ buildDir lbi </> makeRelativePathEx "darcs/darcs"
|
||||
+ manpage = interpretSymbolicPathCWD
|
||||
+ $ buildDir lbi </> makeRelativePathEx "darcs/darcs.1"
|
||||
manpageHandle <- openFile manpage WriteMode
|
||||
void $ runProcess darcs ["help","manpage"]
|
||||
Nothing Nothing Nothing (Just manpageHandle) Nothing
|
||||
|
||||
installManpage :: PackageDescription -> LocalBuildInfo -> Verbosity -> CopyDest -> IO ()
|
||||
installManpage pkg lbi verbosity copy = do
|
||||
- have_manpage <- doesFileExist (buildDir lbi </> "darcs" </> "darcs.1")
|
||||
+ have_manpage <- doesFileExist
|
||||
+ $ interpretSymbolicPathCWD (buildDir lbi </> makeRelativePathEx "darcs/darcs.1")
|
||||
when have_manpage $
|
||||
copyFiles
|
||||
verbosity
|
||||
(mandir (absoluteInstallDirs pkg lbi copy) </> "man1")
|
||||
- [(buildDir lbi </> "darcs", "darcs.1")]
|
||||
+ [(interpretSymbolicPathCWD (buildDir lbi </> makeRelativePathEx "darcs"), "darcs.1")]
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- version module
|
||||
@@ -124,7 +138,7 @@
|
||||
|
||||
generateVersionModule :: Verbosity -> LocalBuildInfo -> String -> String -> IO ()
|
||||
generateVersionModule verbosity lbi version state = do
|
||||
- let dir = autogenPackageModulesDir lbi
|
||||
+ let dir = interpretSymbolicPathCWD (autogenPackageModulesDir lbi)
|
||||
createDirectoryIfMissingVerbose verbosity True dir
|
||||
ctx <- context verbosity
|
||||
hash <- weakhash verbosity
|
||||
@@ -0,0 +1,29 @@
|
||||
--- old-darcs.net/darcs.cabal 1970-01-01 01:00:01.000000000 +0100
|
||||
+++ new-darcs.net/darcs.cabal 2026-06-22 16:10:41.137461887 +0200
|
||||
@@ -416,7 +416,7 @@
|
||||
build-depends: unix >= 2.7.1.0 && < 2.9,
|
||||
directory >= 1.2.7 && < 1.4
|
||||
|
||||
- build-depends: base >= 4.10 && < 4.21,
|
||||
+ build-depends: base >= 4.10 && < 4.22,
|
||||
safe >= 0.3.20 && < 0.4,
|
||||
stm >= 2.1 && < 2.6,
|
||||
binary >= 0.5 && < 0.11,
|
||||
@@ -436,7 +436,7 @@
|
||||
base16-bytestring >= 1.0 && < 1.1,
|
||||
utf8-string >= 1 && < 1.1,
|
||||
vector >= 0.11 && < 0.14,
|
||||
- tar >= 0.5 && < 0.7,
|
||||
+ tar >= 0.5 && < 0.8,
|
||||
data-ordlist == 0.4.*
|
||||
|
||||
if impl(ghc < 8.10)
|
||||
@@ -462,7 +462,7 @@
|
||||
network >= 2.6 && < 3.3,
|
||||
conduit >= 1.3.0 && < 1.4,
|
||||
http-conduit >= 2.3 && < 2.4,
|
||||
- http-types >= 0.12.1 && < 0.12.5,
|
||||
+ http-types >= 0.12.1 && < 0.13,
|
||||
exceptions >= 0.6 && < 0.11,
|
||||
terminal-size >= 0.3.4 && < 0.4
|
||||
|
||||
@@ -15,8 +15,8 @@ mkDerivation {
|
||||
version = "0.19.0.0";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/hercules-ci/optparse-applicative.git";
|
||||
sha256 = "068rsq9j0afrywbcqf6vg4ivfxbb68ab7f0lvg1na81mfn7sfakk";
|
||||
rev = "b55bb38a2aea0cf776aec707cdce7c7418146077";
|
||||
sha256 = "sha256-tO0V+TKS+ng6OJ8BztKwmV0tV4TnUXOD01ocTyO0sq0=";
|
||||
rev = "0.19.0.0-fork-1";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
libraryHaskellDepends = [
|
||||
|
||||
@@ -3671,14 +3671,13 @@ with pkgs;
|
||||
|
||||
haskellPackages = recurseIntoAttrs (
|
||||
# Prefer native-bignum to avoid linking issues with gmp;
|
||||
# GHC 9.10 doesn't work too well with iserv-proxy.
|
||||
if stdenv.hostPlatform.isStatic then
|
||||
haskell.packages.native-bignum.ghc912
|
||||
# JS backend can't use gmp
|
||||
else if stdenv.hostPlatform.isGhcjs then
|
||||
haskell.packages.native-bignum.ghc910
|
||||
haskell.packages.native-bignum.ghc912
|
||||
else
|
||||
haskell.packages.ghc910
|
||||
haskell.packages.ghc912
|
||||
);
|
||||
|
||||
# haskellPackages.ghc is build->host (it exposes the compiler used to build the
|
||||
@@ -3692,14 +3691,13 @@ with pkgs;
|
||||
ghc =
|
||||
targetPackages.haskellPackages.ghc or (
|
||||
# Prefer native-bignum to avoid linking issues with gmp;
|
||||
# GHC 9.10 doesn't work too well with iserv-proxy.
|
||||
if stdenv.hostPlatform.isStatic then
|
||||
haskell.compiler.native-bignum.ghc912
|
||||
# JS backend can't use GMP
|
||||
else if stdenv.targetPlatform.isGhcjs then
|
||||
haskell.compiler.native-bignum.ghc910
|
||||
haskell.compiler.native-bignum.ghc912
|
||||
else
|
||||
haskell.compiler.ghc910
|
||||
haskell.compiler.ghc912
|
||||
);
|
||||
|
||||
# TODO(@NixOS/haskell): deprecate this alias?
|
||||
|
||||
@@ -66,7 +66,7 @@ let
|
||||
ghc96 = sets.ghc967;
|
||||
ghc98 = sets.ghc984;
|
||||
ghc910 = sets.ghc9103;
|
||||
ghc912 = sets.ghc9123;
|
||||
ghc912 = sets.ghc9125;
|
||||
ghc914 = sets.ghc9141;
|
||||
|
||||
microhs_0_15 = sets.microhs_0_15_4_0;
|
||||
@@ -177,6 +177,14 @@ in
|
||||
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghc9125 = callPackage ../development/compilers/ghc/9.12.5.nix {
|
||||
bootPkgs =
|
||||
# No suitable bindist packaged yet
|
||||
bb.packages.ghc9103;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghc9141 = callPackage ../development/compilers/ghc/9.14.1.nix {
|
||||
bootPkgs =
|
||||
# No suitable bindist packaged yet
|
||||
@@ -284,6 +292,11 @@ in
|
||||
ghc = bh.compiler.ghc9124;
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.12.x.nix { };
|
||||
};
|
||||
ghc9125 = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghc9125;
|
||||
ghc = bh.compiler.ghc9125;
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.12.x.nix { };
|
||||
};
|
||||
ghc9141 = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghc9141;
|
||||
ghc = bh.compiler.ghc9141;
|
||||
|
||||
@@ -67,7 +67,7 @@ let
|
||||
ghc967
|
||||
ghc984
|
||||
ghc9103
|
||||
ghc9123
|
||||
ghc9125
|
||||
];
|
||||
|
||||
# packagePlatforms applied to `haskell.packages.*`
|
||||
@@ -526,7 +526,7 @@ let
|
||||
] released;
|
||||
Cabal_3_10_3_0 = lib.subtractLists [
|
||||
# time < 1.13 conflicts with time == 1.14.*
|
||||
compilerNames.ghc9123
|
||||
compilerNames.ghc9125
|
||||
] released;
|
||||
Cabal_3_12_1_0 = released;
|
||||
Cabal_3_14_2_0 = released;
|
||||
@@ -534,14 +534,24 @@ let
|
||||
cabal2nix = released;
|
||||
cabal2nix-unstable = released;
|
||||
funcmp = released;
|
||||
# haddock-{api,library} are core packages as of GHC >= 9.12
|
||||
haddock-api = [
|
||||
compilerNames.ghc94
|
||||
compilerNames.ghc96
|
||||
# No version compatible with 9.8 nor 9.10 released to Hackage
|
||||
];
|
||||
haddock-library = [
|
||||
compilerNames.ghc94
|
||||
compilerNames.ghc96
|
||||
compilerNames.ghc98
|
||||
compilerNames.ghc910
|
||||
];
|
||||
haskell-debugger = [
|
||||
compilerNames.ghc9141
|
||||
];
|
||||
haskell-language-server = released;
|
||||
hoogle = released;
|
||||
hlint = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
] released;
|
||||
hlint = released;
|
||||
hpack = released;
|
||||
hsdns = released;
|
||||
iserv-proxy = released;
|
||||
@@ -552,12 +562,8 @@ let
|
||||
ghc-lib = released;
|
||||
ghc-lib-parser = released;
|
||||
ghc-lib-parser-ex = released;
|
||||
ghc-source-gen = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
] released;
|
||||
ghc-tags = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
] released;
|
||||
ghc-source-gen = released;
|
||||
ghc-tags = released;
|
||||
hashable = released;
|
||||
primitive = released;
|
||||
scrod = [
|
||||
@@ -568,9 +574,7 @@ let
|
||||
# requires unix >= 2.8.1.0 which implies GHC >= 9.6 for us.
|
||||
compilerNames.ghc967
|
||||
];
|
||||
weeder = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
] released;
|
||||
weeder = released;
|
||||
|
||||
# MicroHs core packages
|
||||
ghc-compat = [
|
||||
|
||||
Reference in New Issue
Block a user