mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Compare commits
337 Commits
staging-ne
...
haskell-up
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e4dda44be | ||
|
|
3ba16f9b5e | ||
|
|
3df67b93de | ||
|
|
8ed8d7cd2f | ||
|
|
2f153b164f | ||
|
|
f4290a712d | ||
|
|
8125c8f952 | ||
|
|
6d4cf664be | ||
|
|
8b057c40b5 | ||
|
|
754e7391d2 | ||
|
|
1f46410e29 | ||
|
|
ffd5c0f686 | ||
|
|
b3d151a51a | ||
|
|
2f89f5073d | ||
|
|
c4be39b04d | ||
|
|
c3f4056d8d | ||
|
|
b455c9d332 | ||
|
|
e1647a36da | ||
|
|
841b8f5979 | ||
|
|
4cd1cda986 | ||
|
|
ad3c53a521 | ||
|
|
5bf4154b18 | ||
|
|
b519de25a3 | ||
|
|
eaa79b902b | ||
|
|
79f8691e65 | ||
|
|
3aa4d2d68f | ||
|
|
c3d77c8517 | ||
|
|
5d1e564405 | ||
|
|
e58f85ec8d | ||
|
|
877e5290de | ||
|
|
4be3abfe1f | ||
|
|
5a6a8cded2 | ||
|
|
f25caecf7a | ||
|
|
dbb43d1da6 | ||
|
|
86b532d04c | ||
|
|
08f8496ff9 | ||
|
|
ab222dd942 | ||
|
|
bb0a89d397 | ||
|
|
b6af5b43ea | ||
|
|
14328fc8f6 | ||
|
|
7ad02aa7c0 | ||
|
|
311763be2d | ||
|
|
36a316ea88 | ||
|
|
2a38509e0f | ||
|
|
8707585398 | ||
|
|
790c31e061 | ||
|
|
1b8e493a4c | ||
|
|
58673d30d4 | ||
|
|
beccc5847a | ||
|
|
3adf419aa4 | ||
|
|
b52f4adde7 | ||
|
|
bd16497ad4 | ||
|
|
ffc266319e | ||
|
|
fa192c1915 | ||
|
|
78d4679404 | ||
|
|
a05b62f756 | ||
|
|
2e37254a0d | ||
|
|
e1f0c80964 | ||
|
|
3ae4f100fa | ||
|
|
b92b966ae0 | ||
|
|
3f0da4e5f2 | ||
|
|
338603c0d4 | ||
|
|
3c1773c843 | ||
|
|
826465b345 | ||
|
|
ad05226f3d | ||
|
|
9da5406197 | ||
|
|
21dcddba97 | ||
|
|
f8b6781bea | ||
|
|
e83add3066 | ||
|
|
d4fadf1842 | ||
|
|
48ea35d0b8 | ||
|
|
5903a7f72d | ||
|
|
a428929e72 | ||
|
|
d6499c4e3c | ||
|
|
9728ac8f06 | ||
|
|
1ae532eb77 | ||
|
|
5df69cc621 | ||
|
|
6046acb728 | ||
|
|
87283c7045 | ||
|
|
ea31f133da | ||
|
|
5a5cd26432 | ||
|
|
d47687c04d | ||
|
|
08f0950a50 | ||
|
|
f4c6e009f9 | ||
|
|
a1beaf2803 | ||
|
|
3594aefa35 | ||
|
|
3b19ff96a1 | ||
|
|
19573606e8 | ||
|
|
7632f2c418 | ||
|
|
b393efc343 | ||
|
|
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 version, 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": "128a44ac0b050c18f374382cb58308863a87c8ae",
|
||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/128a44ac0b050c18f374382cb58308863a87c8ae.tar.gz",
|
||||
"sha256": "017146ry5w7jqqdx3xgqwfam3nn0754hv6gmsjv5n00d7hkqz1pi",
|
||||
"msg": "Update from Hackage at 2026-08-09T03:01:25Z"
|
||||
}
|
||||
|
||||
@@ -51,6 +51,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
|
||||
@@ -77,8 +82,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.20260713";
|
||||
url = "https://downloads.haskell.org/~ghc/9.12.5-rc3/ghc-9.12.4.20260713-src.tar.gz";
|
||||
sha256 = "cc77cff2014dd99c16c9f311f7558d9a11aa3c3a2dee47425b109c3dac35338c";
|
||||
}
|
||||
5
pkgs/development/compilers/ghc/9.14.2.nix
Normal file
5
pkgs/development/compilers/ghc/9.14.2.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
import ./common-hadrian.nix {
|
||||
url = "https://downloads.haskell.org/~ghc/9.14.2-rc1/ghc-9.14.1.20260728-src.tar.xz";
|
||||
version = "9.14.1.20260728";
|
||||
sha256 = "015543170af3ca4bf3b2c4112a207b4738be72243883cb0dbbe673bcc316a04f";
|
||||
}
|
||||
@@ -118,6 +118,7 @@
|
||||
# While split sections are now enabled by default in ghc 8.8 for windows,
|
||||
# they seem to lead to `too many sections` errors when building base for
|
||||
# profiling.
|
||||
# TODO(@alexfmpe): test split sections again with GHC 9.14.2
|
||||
++ (if stdenv.targetPlatform.isWindows then [ "no_split_sections" ] else [ "split_sections" ]);
|
||||
in
|
||||
baseFlavour + lib.concatMapStrings (t: "+${t}") transformers,
|
||||
@@ -309,34 +310,21 @@
|
||||
]
|
||||
|
||||
# Fix docs build with Sphinx >= 9 https://gitlab.haskell.org/ghc/ghc/-/issues/26810
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
lib.versionOlder version "9.12.4"
|
||||
|| (lib.versionAtLeast version "9.14" && lib.versionOlder version "9.15.20260129")
|
||||
)
|
||||
[
|
||||
./ghc-9.6-or-later-docs-sphinx-9.patch
|
||||
]
|
||||
++ lib.optionals (lib.versionOlder version "9.12.4" || version == "9.14.1") [
|
||||
./ghc-9.6-or-later-docs-sphinx-9.patch
|
||||
]
|
||||
|
||||
# Fixes rts/Types.h missing from the install when targeting javascript
|
||||
# See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15740, krank:ignore-line
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/27033. krank:ignore-line
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
version == "9.12.3"
|
||||
# TODO(@sternenseemann): 9.14.2 will likely also have this patch
|
||||
|| (lib.versionAtLeast version "9.14" && lib.versionOlder version "9.15.20260127")
|
||||
)
|
||||
[
|
||||
(fetchpatch {
|
||||
name = "ghc-9.12.3-ghcjs-install-rts-types.h.patch";
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/5b1be555be4f0989d78c274991c5046d7ac6d25e.patch";
|
||||
hash = "sha256-pv4NDyQ6FlZgmTYZ4Ghis4qggt7nCDMhqGaFxTxVPac=";
|
||||
includes = [ "rts/rts.cabal" ];
|
||||
})
|
||||
]
|
||||
++ lib.optionals (version == "9.12.3" || version == "9.14.1") [
|
||||
(fetchpatch {
|
||||
name = "ghc-9.12.3-ghcjs-install-rts-types.h.patch";
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/5b1be555be4f0989d78c274991c5046d7ac6d25e.patch";
|
||||
hash = "sha256-pv4NDyQ6FlZgmTYZ4Ghis4qggt7nCDMhqGaFxTxVPac=";
|
||||
includes = [ "rts/rts.cabal" ];
|
||||
})
|
||||
]
|
||||
|
||||
++ (import ./common-llvm-patches.nix { inherit lib version fetchpatch; });
|
||||
|
||||
@@ -855,16 +843,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.20260810";
|
||||
rev = "556db2f32f59ec2d3b1c225d24d677c60a695e3f";
|
||||
sha256 = "sha256-lB4udTc9hQZEnldmvpllDkCtUVte65/ZMhZd7rf5xOY=";
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -76,18 +76,18 @@ with haskellLib;
|
||||
|
||||
scrod = doDistribute (unmarkBroken super.scrod);
|
||||
|
||||
# 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
|
||||
|
||||
#
|
||||
# Version upgrades
|
||||
#
|
||||
|
||||
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;
|
||||
ghc-exactprint = doDistribute self.ghc-exactprint_1_14_1_0;
|
||||
ghc-lib = doDistribute self.ghc-lib_9_14_1_20251220;
|
||||
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_14_1_20251220;
|
||||
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_14_2_0;
|
||||
|
||||
#
|
||||
# Jailbreaks
|
||||
@@ -134,22 +134,31 @@ with haskellLib;
|
||||
] super.serialise
|
||||
);
|
||||
|
||||
# https://github.com/sjakobi/newtype-generics/pull/28/files
|
||||
newtype-generics = warnAfterVersion "0.6.2" (doJailbreak super.newtype-generics);
|
||||
# https://github.com/maoe/ghc-trace-events/pull/17
|
||||
ghc-trace-events = doJailbreak super.ghc-trace-events; # base < 4.22
|
||||
# HLS, for some reason, decided to remove the hie-compat library from its tree
|
||||
# in https://github.com/haskell/haskell-language-server/pull/4613
|
||||
# even though hiedb (a dependency of HLS) unconditionally depends on it
|
||||
# for all GHC versions. As a result, no one has updated the base bound
|
||||
# of hie-compat to allow building it with GHC 9.14 neither in tree
|
||||
# (which no longer exists) nor on Hackage. Instead, HLS is updating their
|
||||
# cabal.project: https://github.com/haskell/haskell-language-server/blob/a4cfaa80ca94beded6f01547a161b37be7b33558/cabal.project#L78
|
||||
hie-compat = doJailbreak super.hie-compat; # base < 4.22
|
||||
|
||||
# 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
|
||||
|
||||
ghc-exactprint_1_14_0_0 = addBuildDepends [
|
||||
ghc-exactprint_1_14_1_0 = addBuildDepends [
|
||||
# cabal2nix drops conditional block: impl (ghc >= 9.14)
|
||||
self.containers
|
||||
self.Diff
|
||||
self.extra
|
||||
self.directory
|
||||
self.filepath
|
||||
self.ghc-paths
|
||||
self.silently
|
||||
self.syb
|
||||
self.HUnit
|
||||
] super.ghc-exactprint_1_14_0_0;
|
||||
] super.ghc-exactprint_1_14_1_0;
|
||||
|
||||
ormolu = doDistribute self.ormolu_0_8_2_0;
|
||||
fourmolu = doDistribute self.fourmolu_0_20_1_0;
|
||||
|
||||
#
|
||||
# Test suite issues
|
||||
@@ -157,6 +166,15 @@ with haskellLib;
|
||||
|
||||
# Fails to compile with GHC 9.14 https://github.com/snoyberg/mono-traversable/pull/261
|
||||
mono-traversable = dontCheck super.mono-traversable;
|
||||
# doctests broke with GHC 9.14, something to do with error messages
|
||||
# https://github.com/kcsongor/generic-lens/issues/174
|
||||
generic-lens = overrideCabal {
|
||||
testTargets = [
|
||||
"generic-lens-bifunctor"
|
||||
"inspection-tests"
|
||||
"generic-lens-syb-tree"
|
||||
];
|
||||
} super.generic-lens;
|
||||
|
||||
# Too strict bound on containers in test suite
|
||||
# https://github.com/jaspervdj/blaze-markup/issues/69
|
||||
|
||||
@@ -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;
|
||||
@@ -97,9 +104,6 @@ self: super: {
|
||||
++ drv.testFlags or [ ];
|
||||
}) (doJailbreak super.hpack);
|
||||
|
||||
# Later versions require unix >= 2.8 which is tricky to provide with GHC 9.4
|
||||
crypton-x509-store = doDistribute self.crypton-x509-store_1_6_11;
|
||||
|
||||
# 2022-08-01: Tests are broken on ghc 9.2.4: https://github.com/wz1000/HieDb/issues/46
|
||||
hiedb = dontCheck super.hiedb;
|
||||
|
||||
@@ -138,7 +142,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 =
|
||||
@@ -170,4 +173,5 @@ self: super: {
|
||||
|
||||
# Too strict lower bound on base
|
||||
primitive-addr = doJailbreak super.primitive-addr;
|
||||
base64 = doJailbreak super.base64;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
;
|
||||
}
|
||||
|
||||
@@ -161,7 +161,6 @@ broken-packages:
|
||||
- amazonka-dynamodb-streams # failure in job https://hydra.nixos.org/build/295091422 at 2025-04-22
|
||||
- amazonka-iam-policy # failure in job https://hydra.nixos.org/build/233233098 at 2023-09-02
|
||||
- amazonka-mtl # failure in job https://hydra.nixos.org/build/295091544 at 2025-04-22
|
||||
- amazonka-s3-encryption # failure in job https://hydra.nixos.org/build/295091601 at 2025-04-22
|
||||
- AMI # failure in job https://hydra.nixos.org/build/233232505 at 2023-09-02
|
||||
- ampersand # failure in job https://hydra.nixos.org/build/315094859 at 2025-11-29
|
||||
- amqp-conduit # failure in job https://hydra.nixos.org/build/233228080 at 2023-09-02
|
||||
@@ -2409,7 +2408,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 +2626,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 +2770,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 +3292,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 +4082,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 +4973,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 +5230,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 +7437,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,11 +74,11 @@ 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.*
|
||||
- Cabal-syntax == 3.16.* # version required for cabal-install and other packages
|
||||
- crypton-x509-store < 1.6.12 # 2025-11-22: requires unix >= 2.8 which isn't available for GHC < 9.6
|
||||
- extensions == 0.1.0.1 # 2025-09-21: needed for Cabal 3.10 (fourmolo/ormolu with ghc 9.8)
|
||||
- fourmolu == 0.14.0.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
|
||||
- fourmolu == 0.15.0.0 # 2025-09-21: for ghc-lib-parser 9.8 compat
|
||||
@@ -89,7 +86,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 +97,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 +109,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 +142,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 +160,9 @@ package-maintainers:
|
||||
- large-records
|
||||
- lens-sop
|
||||
- linux-namespaces
|
||||
- lsp
|
||||
- lsp-test
|
||||
- lsp-types
|
||||
- monoidal-containers
|
||||
- proto-lens-arbitrary
|
||||
- proto3-suite
|
||||
@@ -377,7 +384,6 @@ package-maintainers:
|
||||
- Agda
|
||||
- agda2hs
|
||||
- irc-client
|
||||
- lambdabot
|
||||
- shake
|
||||
nomeata:
|
||||
- cabal-plan-bounds
|
||||
@@ -656,7 +662,6 @@ package-maintainers:
|
||||
- finite-typelits
|
||||
- has-transformers
|
||||
- monad-bayes
|
||||
- monad-schedule
|
||||
- pulse-simple
|
||||
- openapi3-code-generator
|
||||
- rhine
|
||||
|
||||
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,13 @@ dont-distribute-packages:
|
||||
- babylon
|
||||
- backblaze-b2-hs
|
||||
- backdropper
|
||||
- baikai
|
||||
- baikai-agent
|
||||
- baikai-claude
|
||||
- baikai-effectful
|
||||
- baikai-kit
|
||||
- baikai-openai
|
||||
- baikai-trace-otel
|
||||
- balkon
|
||||
- ballast
|
||||
- bamboo
|
||||
@@ -213,6 +222,7 @@ dont-distribute-packages:
|
||||
- battleships
|
||||
- bayes-stack
|
||||
- bbi
|
||||
- bcp47-orphans
|
||||
- bdcs
|
||||
- bdcs-api
|
||||
- beam-th
|
||||
@@ -448,6 +458,9 @@ dont-distribute-packages:
|
||||
- claferIG
|
||||
- claferwiki
|
||||
- clash
|
||||
- clash-protocols
|
||||
- clash-protocols-base
|
||||
- clash-vexriscv
|
||||
- classify-frog
|
||||
- classy-effects
|
||||
- classy-effects-th
|
||||
@@ -592,6 +605,7 @@ dont-distribute-packages:
|
||||
- CPBrainfuck
|
||||
- cprng-aes
|
||||
- cprng-aes-effect
|
||||
- cql
|
||||
- cql-io-tinylog
|
||||
- cqrs-example
|
||||
- cqrs-memory
|
||||
@@ -639,6 +653,7 @@ dont-distribute-packages:
|
||||
- dahdit-network
|
||||
- dahdit-test
|
||||
- daino
|
||||
- danecheck
|
||||
- Dangerous
|
||||
- dapi
|
||||
- darcs-benchmark
|
||||
@@ -649,7 +664,6 @@ dont-distribute-packages:
|
||||
- darcswatch
|
||||
- darkplaces-demo
|
||||
- darkplaces-rcon-util
|
||||
- dash-haskell
|
||||
- data-basic
|
||||
- data-cycle
|
||||
- data-default-extra
|
||||
@@ -664,6 +678,11 @@ dont-distribute-packages:
|
||||
- datadog-tracing
|
||||
- datafix
|
||||
- dataflow
|
||||
- dataframe
|
||||
- dataframe-huggingface
|
||||
- dataframe-lazy
|
||||
- dataframe-parquet
|
||||
- dataframe-parquet-th
|
||||
- datasets
|
||||
- date-conversions
|
||||
- dbjava
|
||||
@@ -689,6 +708,7 @@ dont-distribute-packages:
|
||||
- ddci-core
|
||||
- dde
|
||||
- debug
|
||||
- decidable
|
||||
- decimal-arithmetic
|
||||
- dedukti
|
||||
- DeepArrow
|
||||
@@ -729,6 +749,8 @@ dont-distribute-packages:
|
||||
- dhscanner-kbapi
|
||||
- dhscanner-kbgen
|
||||
- dia-functions
|
||||
- diagnostician-html
|
||||
- diagnostician-terminal
|
||||
- diagrams-html5
|
||||
- diagrams-reflex
|
||||
- diagrams-wx
|
||||
@@ -762,6 +784,7 @@ dont-distribute-packages:
|
||||
- DMuCheck
|
||||
- DnaProteinAlignment
|
||||
- dnf-repo
|
||||
- dnsbase
|
||||
- dobutokO-poetry
|
||||
- dobutokO-poetry-general
|
||||
- dobutokO-poetry-general-languages
|
||||
@@ -821,10 +844,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 +878,9 @@ dont-distribute-packages:
|
||||
- ersatz-viz
|
||||
- esotericbot
|
||||
- EsounD
|
||||
- esqueleto
|
||||
- esqueleto-compat
|
||||
- esqueleto-postgis
|
||||
- esqueleto-streaming
|
||||
- estreps
|
||||
- Etage-Graph
|
||||
@@ -880,6 +908,9 @@ dont-distribute-packages:
|
||||
- eventium-memory
|
||||
- eventium-postgresql
|
||||
- eventium-sqlite
|
||||
- eventlog-live
|
||||
- eventlog-live-influxdb
|
||||
- eventlog-live-otelcol
|
||||
- EventSocket
|
||||
- eventsource-geteventstore-store
|
||||
- eventsource-store-specs
|
||||
@@ -892,6 +923,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 +1088,7 @@ dont-distribute-packages:
|
||||
- functor
|
||||
- functor-combo
|
||||
- functor-monad
|
||||
- functor-products
|
||||
- funflow
|
||||
- funflow-nix
|
||||
- funion
|
||||
@@ -1265,7 +1302,6 @@ dont-distribute-packages:
|
||||
- hackage2twitter
|
||||
- hackmanager
|
||||
- haddock
|
||||
- haddocset
|
||||
- hadoop-tools
|
||||
- haggis
|
||||
- hails-bin
|
||||
@@ -1279,6 +1315,7 @@ dont-distribute-packages:
|
||||
- halma-gui
|
||||
- halma-telegram-bot
|
||||
- hamusic
|
||||
- hanalyze
|
||||
- hans-pcap
|
||||
- happlets-lib-gtk
|
||||
- HAppS-Data
|
||||
@@ -1327,9 +1364,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 +1375,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 +1423,7 @@ dont-distribute-packages:
|
||||
- haskoin-crypto
|
||||
- haskoin-protocol
|
||||
- haskoin-script
|
||||
- haskoin-wallet
|
||||
- haskoon
|
||||
- haskoon-httpspec
|
||||
- haskoon-salvia
|
||||
@@ -1402,7 +1442,6 @@ dont-distribute-packages:
|
||||
- hasloGUI
|
||||
- hasql-postgres
|
||||
- hasql-postgres-options
|
||||
- hasql-postgresql-types
|
||||
- hasql-queue
|
||||
- hasql-streams-core
|
||||
- hasql-streams-example
|
||||
@@ -1423,6 +1462,7 @@ dont-distribute-packages:
|
||||
- Hayoo
|
||||
- hback
|
||||
- hbayes
|
||||
- hbayesian
|
||||
- hbb
|
||||
- hbf
|
||||
- hbro
|
||||
@@ -1438,7 +1478,6 @@ dont-distribute-packages:
|
||||
- hdbi-tests
|
||||
- hdiff
|
||||
- hdirect
|
||||
- hdocs
|
||||
- hdph
|
||||
- heart-app
|
||||
- heatitup
|
||||
@@ -1500,6 +1539,7 @@ dont-distribute-packages:
|
||||
- hgeometry-combinatorial
|
||||
- hgeometry-ipe
|
||||
- hgeometry-svg
|
||||
- hgg-analyze-bridge
|
||||
- hgithub
|
||||
- hiccup
|
||||
- hie-core
|
||||
@@ -1551,8 +1591,8 @@ dont-distribute-packages:
|
||||
- hmeap-utils
|
||||
- hmep
|
||||
- HMock
|
||||
- hMPC
|
||||
- hmt-diagrams
|
||||
- hnix-store-db
|
||||
- HNM
|
||||
- hnormalise
|
||||
- hob
|
||||
@@ -1657,6 +1697,7 @@ dont-distribute-packages:
|
||||
- hspec-pg-transact
|
||||
- hspec-setup
|
||||
- hspec-shouldbe
|
||||
- hspec-webdriver
|
||||
- hspecVariant
|
||||
- hsprocess
|
||||
- hsql-mysql
|
||||
@@ -1667,6 +1708,7 @@ dont-distribute-packages:
|
||||
- hsqml-demo-morris
|
||||
- hsqml-morris
|
||||
- hsreadability
|
||||
- hsrs
|
||||
- hssourceinfo
|
||||
- hssqlppp-th
|
||||
- hstar
|
||||
@@ -1690,6 +1732,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 +1791,7 @@ dont-distribute-packages:
|
||||
- hylotab
|
||||
- hyloutils
|
||||
- hyperbole
|
||||
- hyperbole-oauth2
|
||||
- hyperpublic
|
||||
- ide-backend
|
||||
- ide-backend-server
|
||||
@@ -1756,9 +1800,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 +1857,9 @@ dont-distribute-packages:
|
||||
- IORefCAS
|
||||
- ipatch
|
||||
- ipc
|
||||
- ipedb
|
||||
- ipld-cid
|
||||
- ipldm
|
||||
- ipprint
|
||||
- iptadmin
|
||||
- irc-fun-bot
|
||||
@@ -1930,6 +1978,9 @@ dont-distribute-packages:
|
||||
- keid-geometry
|
||||
- keid-resource-gltf
|
||||
- keid-sound-openal
|
||||
- keiro-core
|
||||
- keiro-dsl
|
||||
- keiro-migrations
|
||||
- kerry
|
||||
- kevin
|
||||
- key-vault
|
||||
@@ -1942,6 +1993,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 +2122,7 @@ dont-distribute-packages:
|
||||
- list-t-attoparsec
|
||||
- list-t-html-parser
|
||||
- list-tuple
|
||||
- list-witnesses
|
||||
- listenbrainz-client
|
||||
- liszt
|
||||
- lit
|
||||
@@ -2159,6 +2218,7 @@ dont-distribute-packages:
|
||||
- manifold-random
|
||||
- Map
|
||||
- marionetta
|
||||
- marionette-effectful
|
||||
- markdown-pap
|
||||
- markdown2svg
|
||||
- markov-processes
|
||||
@@ -2197,8 +2257,6 @@ dont-distribute-packages:
|
||||
- meta-par-accelerate
|
||||
- MetaObject
|
||||
- metaplug
|
||||
- metar
|
||||
- metar-http
|
||||
- Metrics
|
||||
- metro
|
||||
- metro-socket
|
||||
@@ -2224,6 +2282,7 @@ dont-distribute-packages:
|
||||
- minirotate
|
||||
- mismi-kernel
|
||||
- mismi-s3-core
|
||||
- miso-css
|
||||
- miss
|
||||
- miss-porcelain
|
||||
- missing-py2
|
||||
@@ -2262,12 +2321,19 @@ dont-distribute-packages:
|
||||
- mongrel2-handler
|
||||
- monky
|
||||
- Monocle
|
||||
- monoidmap
|
||||
- monoidmap-aeson
|
||||
- monoidmap-examples
|
||||
- monoidmap-hashable
|
||||
- monoidmap-internal
|
||||
- monoidmap-quickcheck
|
||||
- monomer
|
||||
- monomer-flatpak-example
|
||||
- monomer-hagrid
|
||||
- monte-carlo
|
||||
- moo
|
||||
- moo-nad
|
||||
- moonlight-delta
|
||||
- morley
|
||||
- morley-client
|
||||
- morley-prelude
|
||||
@@ -2350,6 +2416,7 @@ dont-distribute-packages:
|
||||
- mysql-simple-typed
|
||||
- myTestlll
|
||||
- mywatch
|
||||
- n-tuple
|
||||
- n2o-web
|
||||
- NaCl
|
||||
- nakadi-client
|
||||
@@ -2417,6 +2484,7 @@ dont-distribute-packages:
|
||||
- nonlinear-optimization-ad
|
||||
- nonlinear-optimization-backprop
|
||||
- NoSlow
|
||||
- nostr
|
||||
- not-gloss
|
||||
- not-gloss-examples
|
||||
- notmuch-web
|
||||
@@ -2462,6 +2530,7 @@ dont-distribute-packages:
|
||||
- ogma-language-fret-cs
|
||||
- ogma-language-fret-reqs
|
||||
- ois-input-manager
|
||||
- okf-cli
|
||||
- olwrapper
|
||||
- om-kubernetes
|
||||
- online-csv
|
||||
@@ -2483,6 +2552,7 @@ dont-distribute-packages:
|
||||
- optimal-blocks
|
||||
- optimusprime
|
||||
- optparse-enum
|
||||
- orbits
|
||||
- orchid
|
||||
- orchid-demo
|
||||
- order-maintenance
|
||||
@@ -2561,11 +2631,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 +2696,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 +2751,7 @@ dont-distribute-packages:
|
||||
- poseidon
|
||||
- poseidon-postgis
|
||||
- postgresql-common-persistent
|
||||
- postgresql-migration-persistent
|
||||
- postgresql-pure
|
||||
- postgresql-simple-ltree
|
||||
- postgresql-simple-queue
|
||||
@@ -2778,7 +2858,10 @@ dont-distribute-packages:
|
||||
- queuelike
|
||||
- quic-simple
|
||||
- quick-process
|
||||
- quickcheck-groups
|
||||
- quickcheck-monoid-subclasses
|
||||
- quickcheck-poly
|
||||
- quickcheck-quid
|
||||
- quickcheck-regex
|
||||
- quickcheck-relaxng
|
||||
- quicktest
|
||||
@@ -2883,6 +2966,8 @@ dont-distribute-packages:
|
||||
- reheat
|
||||
- rel8
|
||||
- relative-date
|
||||
- relay-pagination-conformance
|
||||
- relay-pagination-hasql
|
||||
- remote-json
|
||||
- remote-json-client
|
||||
- remote-json-server
|
||||
@@ -3053,6 +3138,7 @@ dont-distribute-packages:
|
||||
- secret-sharing
|
||||
- secrm
|
||||
- sednaDBXML
|
||||
- seihou-cli
|
||||
- seitz-symbol
|
||||
- SelectSequencesFromMSA
|
||||
- selenium-server
|
||||
@@ -3133,6 +3219,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 +3268,9 @@ dont-distribute-packages:
|
||||
- SimpleLog
|
||||
- SimpleServer
|
||||
- simseq
|
||||
- singleton-nats
|
||||
- singletons-base
|
||||
- singletons-default
|
||||
- singletons-presburger
|
||||
- siphon
|
||||
- siren-json
|
||||
@@ -3296,7 +3396,6 @@ dont-distribute-packages:
|
||||
- statistics-dirichlet
|
||||
- statsd-client
|
||||
- statsdi
|
||||
- steeloverseer
|
||||
- stern-brocot
|
||||
- STLinkUSB
|
||||
- stm-sbchan
|
||||
@@ -3356,6 +3455,9 @@ dont-distribute-packages:
|
||||
- syb-with-class-instances-text
|
||||
- SybWidget
|
||||
- sydtest-amqp
|
||||
- sydtest-mutation-plugin
|
||||
- sydtest-sqitch-postgres
|
||||
- sydtest-sqitch-postgres-persistent
|
||||
- sydtest-webdriver-screenshot
|
||||
- sydtest-webdriver-yesod
|
||||
- sylvia
|
||||
@@ -3481,6 +3583,7 @@ dont-distribute-packages:
|
||||
- toxcore-c
|
||||
- toysolver
|
||||
- tpb
|
||||
- tpdb
|
||||
- trace-embrace
|
||||
- tracing-control
|
||||
- trajectory
|
||||
@@ -3545,6 +3648,7 @@ dont-distribute-packages:
|
||||
- type-sub-th
|
||||
- TypeClass
|
||||
- typed-encoding-encoding
|
||||
- typed-fsm
|
||||
- typed-streams
|
||||
- typedflow
|
||||
- TypeIlluminator
|
||||
@@ -3578,6 +3682,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 +3783,7 @@ dont-distribute-packages:
|
||||
- waldo
|
||||
- warp-grpc
|
||||
- warp-quic
|
||||
- warp-s2n-tls
|
||||
- warped
|
||||
- warpZ-tls
|
||||
- WashNGo
|
||||
@@ -3695,7 +3802,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;
|
||||
haskeline = doDistribute self.haskeline_0_8_4_1;
|
||||
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_5_0;
|
||||
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_0_1;
|
||||
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 ###
|
||||
###########################################
|
||||
@@ -780,9 +784,13 @@ builtins.intersectAttrs super {
|
||||
# Wants to check against a real DB, Needs freetds
|
||||
odbc = dontCheck (addExtraLibraries [ pkgs.freetds ] super.odbc);
|
||||
|
||||
# Tests attempt to use npm to install from the network into
|
||||
# /homeless-shelter. Disabled.
|
||||
purescript = dontCheck super.purescript;
|
||||
purescript = lib.pipe super.purescript [
|
||||
# Tests attempt to use npm to install from the network into
|
||||
# /homeless-shelter. Disabled.
|
||||
dontCheck
|
||||
# Generate shell completions
|
||||
(self.generateOptparseApplicativeCompletions [ "purs" ])
|
||||
];
|
||||
|
||||
# Hardcoded include path
|
||||
poppler = overrideCabal (drv: {
|
||||
@@ -1083,6 +1091,9 @@ builtins.intersectAttrs super {
|
||||
# Break dependency cycle between hedgehog, tasty-hedgehog and lifted-async
|
||||
lifted-async = dontCheck super.lifted-async;
|
||||
|
||||
# Break infinite recursion yesod-test → yesod-form → yesod-test
|
||||
yesod-test = dontCheck super.yesod-test;
|
||||
|
||||
# loc and loc-test depend on each other for testing. Break that infinite cycle:
|
||||
loc-test = super.loc-test.override { loc = dontCheck self.loc; };
|
||||
|
||||
@@ -1135,13 +1146,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;
|
||||
@@ -1282,6 +1286,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
|
||||
@@ -1667,6 +1673,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
|
||||
@@ -1847,9 +1862,11 @@ builtins.intersectAttrs super {
|
||||
enableSeparateBinOutput super.cachix
|
||||
);
|
||||
|
||||
hercules-ci-agent = super.hercules-ci-agent.override {
|
||||
nix = self.hercules-ci-cnix-store.passthru.nixPackage;
|
||||
};
|
||||
hercules-ci-agent = self.generateOptparseApplicativeCompletions [ "hercules-ci-agent" ] (
|
||||
super.hercules-ci-agent.override {
|
||||
nix = self.hercules-ci-cnix-store.passthru.nixPackage;
|
||||
}
|
||||
);
|
||||
hercules-ci-cnix-expr = addTestToolDepend pkgs.git (
|
||||
super.hercules-ci-cnix-expr.override { nix = self.hercules-ci-cnix-store.passthru.nixPackage; }
|
||||
);
|
||||
@@ -2358,6 +2375,31 @@ builtins.intersectAttrs super {
|
||||
|
||||
# Workaround for flaky test: https://github.com/basvandijk/threads/issues/10
|
||||
threads = appendPatch ./patches/threads-flaky-test.patch super.threads;
|
||||
|
||||
idris = (self.generateOptparseApplicativeCompletions [ "idris" ]) super.idris;
|
||||
|
||||
# Generate cli completions for dhall.
|
||||
dhall = self.generateOptparseApplicativeCompletions [ "dhall" ] super.dhall;
|
||||
dhall-json = self.generateOptparseApplicativeCompletions [
|
||||
"dhall-to-json"
|
||||
"dhall-to-yaml"
|
||||
] super.dhall-json;
|
||||
dhall-nix = self.generateOptparseApplicativeCompletions [ "dhall-to-nix" ] super.dhall-nix;
|
||||
dhall-nixpkgs = self.generateOptparseApplicativeCompletions [
|
||||
"dhall-to-nixpkgs"
|
||||
] super.dhall-nixpkgs;
|
||||
dhall-yaml = self.generateOptparseApplicativeCompletions [
|
||||
"dhall-to-yaml-ng"
|
||||
"yaml-to-dhall"
|
||||
] super.dhall-yaml;
|
||||
|
||||
update-nix-fetchgit = self.generateOptparseApplicativeCompletions [
|
||||
"update-nix-fetchgit"
|
||||
] super.update-nix-fetchgit;
|
||||
|
||||
hinit = self.generateOptparseApplicativeCompletions [ "hi" ] super.hinit;
|
||||
|
||||
hercules-ci-cli = self.generateOptparseApplicativeCompletions [ "hci" ] super.hercules-ci-cli;
|
||||
}
|
||||
|
||||
// lib.optionalAttrs pkgs.config.allowAliases (
|
||||
|
||||
41132
pkgs/development/haskell-modules/hackage-packages.nix
generated
41132
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,13 @@
|
||||
Remove unused dependency.
|
||||
|
||||
--- old/darcs.cabal 1970-01-01 01:00:01.000000000 +0100
|
||||
+++ new/darcs.cabal 2026-08-13 14:15:19.498074382 +0200
|
||||
@@ -427,7 +427,7 @@
|
||||
mtl >= 2.2.1 && < 2.4,
|
||||
transformers >= 0.4.2.0 && < 0.7,
|
||||
parsec >= 3.1.9 && < 3.2,
|
||||
- fgl >= 5.5.2.3 && < 5.9,
|
||||
+
|
||||
html >= 1.0.1.2 && < 1.1,
|
||||
filepath >= 1.4.1 && < 1.6,
|
||||
haskeline >= 0.7.2 && < 0.9,
|
||||
@@ -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
pkgs/development/haskell-modules/patches/darcs-tls-2.2.patch
Normal file
15
pkgs/development/haskell-modules/patches/darcs-tls-2.2.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Based on https://hub.darcs.net/darcs/darcs-screened/patch/523d0a3a5480024ea35fd5d17b35a05e9d3334a0
|
||||
|
||||
--- old/darcs.cabal 1970-01-01 01:00:01.000000000 +0100
|
||||
+++ new/darcs.cabal 2026-08-13 14:18:55.376292224 +0200
|
||||
@@ -470,8 +470,8 @@
|
||||
cpp-options: -DHAVE_CRYPTON_CONNECTION
|
||||
build-depends: crypton-connection >= 0.4 && < 0.5,
|
||||
data-default >= 0.7.1.3 && < 0.9,
|
||||
- http-client-tls >= 0.3.5 && < 0.4,
|
||||
- tls >= 2.0.6 && < 2.2
|
||||
+ http-client-tls >= 0.3.5 && < 0.5,
|
||||
+ tls >= 2.0.6 && < 2.5
|
||||
else
|
||||
-- cannot use crypton-connection >= 0.4, so
|
||||
-- constraining indirect dependency to work around problems
|
||||
@@ -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 = [
|
||||
|
||||
@@ -3625,14 +3625,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
|
||||
@@ -3646,14 +3645,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
|
||||
@@ -185,6 +193,14 @@ in
|
||||
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghc9142 = callPackage ../development/compilers/ghc/9.14.2.nix {
|
||||
bootPkgs =
|
||||
# No suitable bindist packaged yet
|
||||
bb.packages.ghc9103;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
|
||||
inherit buildTargetLlvmPackages llvmPackages;
|
||||
};
|
||||
ghcHEAD = callPackage ../development/compilers/ghc/head.nix {
|
||||
bootPkgs =
|
||||
# No suitable bindist packaged yet
|
||||
@@ -284,11 +300,21 @@ 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;
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.14.x.nix { };
|
||||
};
|
||||
ghc9142 = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghc9142;
|
||||
ghc = bh.compiler.ghc9142;
|
||||
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.14.x.nix { };
|
||||
};
|
||||
ghcHEAD = callPackage ../development/haskell-modules {
|
||||
buildHaskellPackages = bh.packages.ghcHEAD;
|
||||
ghc = bh.compiler.ghcHEAD;
|
||||
|
||||
@@ -47,7 +47,9 @@ let
|
||||
ghc967
|
||||
ghc984
|
||||
ghc9103
|
||||
ghc9123
|
||||
ghc9125
|
||||
ghc9141
|
||||
ghc9142
|
||||
];
|
||||
|
||||
# packagePlatforms applied to `haskell.packages.*`
|
||||
@@ -505,22 +507,48 @@ let
|
||||
compilerNames.ghc948
|
||||
] released;
|
||||
Cabal_3_10_3_0 = lib.subtractLists [
|
||||
# time < 1.13 conflicts with time == 1.14.*
|
||||
compilerNames.ghc9123
|
||||
# time < 1.13 conflicts with time == 1.14.* || == 1.15.*
|
||||
compilerNames.ghc9125
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
] released;
|
||||
Cabal_3_12_1_0 = lib.subtractLists [
|
||||
# time < 1.15 conflicts with time == 1.15.*
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
] released;
|
||||
Cabal_3_14_2_0 = lib.subtractLists [
|
||||
# time < 1.15 conflicts with time == 1.15.*
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
] released;
|
||||
Cabal_3_12_1_0 = released;
|
||||
Cabal_3_14_2_0 = released;
|
||||
Cabal_3_16_1_0 = released;
|
||||
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
|
||||
compilerNames.ghc9142
|
||||
];
|
||||
haskell-language-server = released;
|
||||
hoogle = released;
|
||||
hlint = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
# https://github.com/ndmitchell/hlint/issues/1672
|
||||
# https://github.com/ndmitchell/hlint/pull/1673
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
] released;
|
||||
hpack = released;
|
||||
hsdns = released;
|
||||
@@ -529,28 +557,28 @@ let
|
||||
language-nix = released;
|
||||
nix-paths = released;
|
||||
titlecase = released;
|
||||
ghc-exactprint = released;
|
||||
ghc-lib = released;
|
||||
ghc-lib-parser = released;
|
||||
ghc-lib-parser-ex = released;
|
||||
ghc-source-gen = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
] released;
|
||||
ghc-source-gen = released;
|
||||
ghc-tags = lib.subtractLists [
|
||||
compilerNames.ghc9123
|
||||
# https://github.com/arybczak/ghc-tags/pull/31
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
] released;
|
||||
hashable = released;
|
||||
primitive = released;
|
||||
scrod = [
|
||||
compilerNames.ghc9141
|
||||
compilerNames.ghc9142
|
||||
];
|
||||
semaphore-compat = [
|
||||
# Compiler < 9.8 don't have the semaphore-compat core package, but
|
||||
# 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