Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
37d2bd7
haskellPackages: stackage LTS 20.23 -> LTS 20.24
cdepillabout Jun 7, 2023
6fa52fa
all-cabal-hashes: 2023-05-31T06:44:49Z -> 2023-06-07T04:39:28Z
cdepillabout Jun 7, 2023
3620f98
haskellPackages: regenerate package set based on current config
cdepillabout Jun 7, 2023
737d80a
Merge master into haskell-updates
github-actions[bot] Jun 8, 2023
fc8620b
haskellPackages.fft: mark unbroken and dontCheck
cdepillabout Jun 8, 2023
8dd6e8f
haskellPackages.uuagc-cabal: no longer broken
FPtje Jun 8, 2023
512c48d
Remove hydraPlatforms clause for uuagc-cabal
FPtje Jun 8, 2023
101449e
Merge pull request #236591 from FPtje/mark-uuagc-cabal-as-nonbroken
cdepillabout Jun 8, 2023
2c5704b
haskellPackages.vector: fix test suite with QuickCheck-2.14.3
sternenseemann Jun 8, 2023
b0731bd
haskellPackages.math-functions: disable test unreliable with QuickChe…
sternenseemann Jun 8, 2023
4e15d40
haskellPackages.aeson: fix test suite for QuickCheck-2.14.3
sternenseemann Jun 8, 2023
271e7a9
haskell.compiler.ghcHEAD: 9.7.20230505 -> 9.7.20230527
sternenseemann May 31, 2023
9dbcebd
haskellPackages.mkDerivation: profiling depends on hostPlatform
sternenseemann Jun 6, 2023
f1ad505
haskell.compiler.ghc961: remove at 9.6.1
sternenseemann May 30, 2023
cb7ccdc
Merge remote-tracking branch 'origin/master' into haskell-updates
sternenseemann Jun 8, 2023
615b6ca
haskellPackages.hledger*: unify and simplify overrides
sternenseemann Jun 8, 2023
7b74e74
haskellPackages.hledger*: move overrides to configuration-nix.nix
sternenseemann Jun 8, 2023
3582fd1
haskellPackages.hledger*: rely on install(1) and installManPage
sternenseemann Jun 8, 2023
3195c95
haskellPackages.hledger_1_30_1: install man and info pages
sternenseemann Jun 8, 2023
86433eb
haskellPackages.hledger-web_1_30: use matching dependency versions
sternenseemann Jun 8, 2023
b0baed0
Merge master into haskell-updates
github-actions[bot] Jun 9, 2023
68b6b4b
haskellPackages.aeson_2_1_2_1: apply patch for QC-2.14.3
sternenseemann Jun 9, 2023
adc82e6
haskell.packages.ghc96.ghc-exactprint: 1.7.0.0 -> 1.7.0.1
sternenseemann Jun 9, 2023
a413349
haskell.packages.ghc94.ghc-exactprint: 1.6.1.1 -> 1.6.1.3
sternenseemann Jun 9, 2023
33814e2
haskellPackages.statistics: disable test cases broken with QC-2.13.4
sternenseemann Jun 9, 2023
35885dd
Merge master into haskell-updates
github-actions[bot] Jun 10, 2023
8766168
haskellPackages.threadscope: Fix build
maralorn Jun 10, 2023
2167428
haskellPackages.threadscope: enable separate bin output
maralorn Jun 10, 2023
054ef60
haskellPackages.threadscope: add maintainer
maralorn Jun 10, 2023
f93429e
haskellPackages.halide-haskell: native dependency on Halide
twesterhout Jun 10, 2023
9b7c645
Merge master into haskell-updates
github-actions[bot] Jun 11, 2023
366e46b
Merge pull request #236991 from maralorn/haskell-updates
maralorn Jun 11, 2023
034d613
haskellPackages.active: fix test issue revealed by QC-2.14.3
sternenseemann Jun 11, 2023
bed4113
nvfetcher: fix dependencies
oxalica Jun 8, 2023
fc3668a
haskellPackages: Use separate bin output for multiple packages
maralorn Jun 10, 2023
2ee4f35
Merge pull request #236668 from oxalica/fix/nvfetcher-dep
cdepillabout Jun 11, 2023
9a53a3f
Merge master into haskell-updates
github-actions[bot] Jun 12, 2023
c1e7f29
Merge master into haskell-updates
github-actions[bot] Jun 13, 2023
b37b2d4
Merge pull request #237028 from maralorn/separate-bin
maralorn Jun 13, 2023
55843b9
Merge master into haskell-updates
github-actions[bot] Jun 14, 2023
ac06f87
haskellPackages.sydtest: Unbreak by disabling test suite.
Jun 5, 2023
f8cc343
Merge pull request #236093 from NorfairKing/unbreak-sydtest-second-at…
maralorn Jun 14, 2023
7d0a1bd
Merge remote-tracking branch 'origin/master' into haskell-updates
sternenseemann Jun 14, 2023
0f09cfb
Merge master into haskell-updates
github-actions[bot] Jun 15, 2023
9a550b1
haskellPackages: drop util-linux on darwin
wegank Jun 15, 2023
572d29f
Merge pull request #237883 from wegank/util-linux-drop
wegank Jun 15, 2023
efc1037
Merge master into haskell-updates
github-actions[bot] Jun 16, 2023
a6fd470
all-cabal-hashes: 2023-06-07T04:39:28Z -> 2023-06-19T20:13:38Z
maralorn Jun 19, 2023
404d419
haskellPackages: regenerate package set based on current config
maralorn Jun 19, 2023
0f1be08
Merge branch 'master' into haskell-updates
maralorn Jun 19, 2023
89c3ad6
haskellPackages: stackage LTS 20.24 -> LTS 20.26
maralorn Jun 19, 2023
2ce2527
Merge master into haskell-updates
github-actions[bot] Jun 20, 2023
dd4be84
haskellPackages.fourmolu_0_13_0_0: Bump pin
maralorn Jun 20, 2023
51c15f3
haskellPackages: regenerate package set based on current config
maralorn Jun 20, 2023
3780de2
haskellPackages: Restrict halide packages to linux
maralorn Jun 20, 2023
260df62
Merge master into haskell-updates
github-actions[bot] Jun 21, 2023
35e7633
haskellPackages.active: drop now released patch
sternenseemann Jun 21, 2023
0312d8f
Merge master into haskell-updates
github-actions[bot] Jun 22, 2023
3b00d0c
Merge master into haskell-updates
github-actions[bot] Jun 23, 2023
63593ca
Merge master into haskell-updates
github-actions[bot] Jun 24, 2023
61cb760
haskellPackages: dontCheck implicit due to flaky tests
sorki Jun 20, 2023
3fc46c5
haskellPackages.config-value: allow alex-3.2.7.4
sternenseemann Jun 24, 2023
3718dfb
haskellPackages.lsp: restrict to 1.6.*
sternenseemann Jun 24, 2023
f918438
haskellPackages.jsaddle-webkit2gtk: drop upstreamed patch
sternenseemann Jun 24, 2023
6cd94a8
Merge master into haskell-updates
github-actions[bot] Jun 25, 2023
45499fa
Plenty of build fixes for ghc-9.6.x, particularly xmonad.
peti Jun 26, 2023
0e87c15
Merge branch 'master' into haskell-updates
maralorn Jun 26, 2023
8ab0ccf
haskellPackages.comfort-blas: Disable checks
maralorn Jun 26, 2023
61dd345
haskellPackages.update-nix-fetchgit: Disable checks
maralorn Jun 26, 2023
becc80b
haskellPackages.monad-logger-extras: Apply patch
maralorn Jun 26, 2023
1748970
haskellPackages.trie-simple: Loosen lower bound on semialign
maralorn Jun 26, 2023
244387e
haskellPackages.monad-logger-extras: Pick fixed patch
maralorn Jun 26, 2023
71ce0a3
Merge master into haskell-updates
github-actions[bot] Jun 27, 2023
3f10b97
Merge pull request #239920 from peti/haskell-updates
peti Jun 27, 2023
90a520a
haskellPackages.orbits: dont check
maralorn Jun 27, 2023
6a2fef5
haskellPackages.monad-bayes: don’t check
maralorn Jun 27, 2023
0aaf2b2
Merge master into haskell-updates
github-actions[bot] Jun 28, 2023
26b4207
Merge branch 'master' into haskell-updates
maralorn Jun 28, 2023
ca6912e
haskellPackages: mark builds failing on hydra as broken
maralorn Jun 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/languages-frameworks/haskell.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ installing and using them.

All of these packages are originally defined in the `haskellPackages` package
set and are re-exposed with a reduced dependency closure for convenience.
(see `justStaticExecutables` below)
(see `justStaticExecutables` or `separateBinOutput` below)

The `haskellPackages` set includes at least one version of every package from
Hackage as well as some manually injected packages. This amounts to a lot of
Expand Down
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2311.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@

- `services.lemmy.settings.federation` was removed in 0.17.0 and no longer has any effect. To enable federation, the hostname must be set in the configuration file and then federation must be enabled in the admin web UI. See the [release notes](https://github.com/LemmyNet/lemmy/blob/c32585b03429f0f76d1e4ff738786321a0a9df98/RELEASES.md#upgrade-instructions) for more details.

- The following packages in `haskellPackages` have now a separate bin output: `cabal-fmt`, `calligraphy`, `eventlog2html`, `ghc-debug-brick`, `hindent`, `nixfmt`, `releaser`. This means you need to replace e.g. `"${pkgs.haskellPackages.nixfmt}/bin/nixfmt"` with `"${lib.getBin pkgs.haskellPackages.nixfmt}/bin/nixfmt"` or `"${lib.getExe pkgs.haskellPackages.nixfmt}"`. The binaries also won’t be in scope if you rely on them being installed e.g. via `ghcWithPackages`. `environment.packages` picks the `bin` output automatically, so for normal installation no intervention is required. Also, toplevel attributes like `pkgs.nixfmt` are not impacted negatively by this change.

- `spamassassin` no longer supports the `Hashcash` module. The module needs to be removed from the `loadplugin` list if it was copied over from the default `initPreConf` option.

## Other Notable Changes {#sec-release-23.11-notable-changes}
Expand Down
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "4744eb212287f09a540ba7de2a4837b504956ed4",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/4744eb212287f09a540ba7de2a4837b504956ed4.tar.gz",
"sha256": "1lwdnjmndmixnv8saq68g45skf9yc3zq9npjm8gv9pdga7vy3m96",
"msg": "Update from Hackage at 2023-05-31T06:44:49Z"
"commit": "2951c03cb95b8892bd6d4eb89d135764c35a8d7f",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/2951c03cb95b8892bd6d4eb89d135764c35a8d7f.tar.gz",
"sha256": "08sh9l9df2p51q4xhrl14jga48i0ad78fp7w3cccgcw1bqq4yxml",
"msg": "Update from Hackage at 2023-06-19T20:13:38Z"
}
4 changes: 0 additions & 4 deletions pkgs/development/compilers/ghc/9.6.1.nix

This file was deleted.

6 changes: 3 additions & 3 deletions pkgs/development/compilers/ghc/head.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ./common-hadrian.nix {
version = "9.7.20230505";
rev = "983ce55815f2dd57f84ee86eee97febf7d80b470";
sha256 = "sha256-U+LZIe9WbF/DF5Zn8w8wkRf4JJHxgdY2ahM517bwRo4=";
version = "9.7.20230527";
rev = "69fdbece5f6ca0a718bb9f1fef7b0ab57cf6b664";
sha256 = "13rf1d27wdich0kmbds55by9vj3wz0v9clba9p8qpwz7x7wpcjz2";
}
164 changes: 99 additions & 65 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,57 @@ self: super: {
"vector-tests-O0"
"vector-tests-O2"
];
patches = [
# Workaround almost guaranteed floating point errors in test suite with quickcheck 2.14.3
# https://github.com/haskell/vector/issues/460
(pkgs.fetchpatch {
name = "vector-quickcheck-2.14.3-float-workaround.patch";
url = "https://github.com/haskell/vector/commit/df8dd8e8e84005aa6b187b03cd502f3c6e18cf3c.patch";
sha256 = "040wg8mqlkdnrl5axy9wk0mlpn8rpc4vc4afpxignj9i7yc4pfjj";
stripLen = 1;
})
];
}) super.vector;

# Almost guaranteed failure due to floating point imprecision with QuickCheck-2.14.3
# https://github.com/haskell/math-functions/issues/73
math-functions = overrideCabal (drv: {
testFlags = drv.testFlags or [] ++ [ "-p" "! /Kahan.t_sum_shifted/" ];
}) super.math-functions;

# Deal with infinite and NaN values generated by QuickCheck-2.14.3
inherit (
let
aesonQuickCheckPatch = appendPatches [
(pkgs.fetchpatch {
name = "aeson-quickcheck-2.14.3-double-workaround.patch";
url = "https://github.com/haskell/aeson/commit/58766a1916b4980792763bab74f0c86e2a7ebf20.patch";
sha256 = "1jk2xyi9g6dfjsi6hvpvkpmag3ivimipwy1izpbidf3wvc9cixs3";
})
];
in
{
aeson = aesonQuickCheckPatch super.aeson;
aeson_2_1_2_1 = aesonQuickCheckPatch super.aeson_2_1_2_1;
}
) aeson
aeson_2_1_2_1
;

# 2023-06-28: Test error: https://hydra.nixos.org/build/225565149
orbits = dontCheck super.orbits;

# 2023-06-28: Test error: https://hydra.nixos.org/build/225559546
monad-bayes = dontCheck super.monad-bayes;

# Disable tests failing on odd floating point numbers generated by QuickCheck 2.14.3
# https://github.com/haskell/statistics/issues/205
statistics = overrideCabal (drv: {
testFlags = [
"-p" "! (/Pearson correlation/ || /t_qr/ || /Tests for: FDistribution.1-CDF is correct/)"
];
}) super.statistics;

# There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack;

Expand All @@ -179,6 +228,10 @@ self: super: {
# successfully with recent versions of the compiler).
bin-package-db = null;

# Unnecessarily requires alex >= 3.3
# https://github.com/glguy/config-value/commit/c5558c8258598fab686c259bff510cc1b19a0c50#commitcomment-119514821
config-value = doJailbreak super.config-value;

# waiting for release: https://github.com/jwiegley/c2hsc/issues/41
c2hsc = appendPatch (fetchpatch {
url = "https://github.com/jwiegley/c2hsc/commit/490ecab202e0de7fc995eedf744ad3cb408b53cc.patch";
Expand All @@ -202,6 +255,9 @@ self: super: {
ghc-datasize = disableLibraryProfiling super.ghc-datasize;
ghc-vis = disableLibraryProfiling super.ghc-vis;

# 2023-06-10: Too strict version bound on https://github.com/haskell/ThreadScope/issues/118
threadscope = doJailbreak super.threadscope;

# patat main branch has an unreleased commit that fixes the build by
# relaxing restrictive upper boundaries. This can be removed once there's a
# new release following version 0.8.8.0.
Expand Down Expand Up @@ -570,6 +626,12 @@ self: super: {
xsd = dontCheck super.xsd;
zip-archive = dontCheck super.zip-archive; # https://github.com/jgm/zip-archive/issues/57

# 2023-06-26: Test failure: https://hydra.nixos.org/build/224869905
comfort-blas = dontCheck super.comfort-blas;

# 2022-06-26: Too strict lower bound on semialign.
trie-simple = doJailbreak super.trie-simple;

# These test suites run for ages, even on a fast machine. This is nuts.
Random123 = dontCheck super.Random123;
systemd = dontCheck super.systemd;
Expand Down Expand Up @@ -1022,53 +1084,6 @@ self: super: {
# jailbreak tasty < 1.2 until servant-docs > 0.11.3 is on hackage.
snap-templates = doJailbreak super.snap-templates; # https://github.com/snapframework/snap-templates/issues/22

# Copy hledger man pages from data directory into the proper place. This code
# should be moved into the cabal2nix generator.
hledger = overrideCabal (drv: {
postInstall = ''
# Don't install files that don't belong into this package to avoid
# conflicts when hledger and hledger-ui end up in the same profile.
rm embeddedfiles/hledger-{api,ui,web}.*
for i in $(seq 1 9); do
for j in embeddedfiles/*.$i; do
mkdir -p $out/share/man/man$i
cp -v $j $out/share/man/man$i/
done
done
mkdir -p $out/share/info
cp -v embeddedfiles/*.info* $out/share/info/
'';
}) super.hledger;
hledger_1_29_2 = doDistribute (super.hledger_1_29_2.override {
hledger-lib = self.hledger-lib_1_29_2;
});
hledger-ui = overrideCabal (drv: {
postInstall = ''
for i in $(seq 1 9); do
for j in *.$i; do
mkdir -p $out/share/man/man$i
cp -v $j $out/share/man/man$i/
done
done
mkdir -p $out/share/info
cp -v *.info* $out/share/info/
'';
}) super.hledger-ui;
hledger-web = overrideCabal (drv: {
preCheck = "export HOME=$TMPDIR";
postInstall = ''
for i in $(seq 1 9); do
for j in *.$i; do
mkdir -p $out/share/man/man$i
cp -v $j $out/share/man/man$i/
done
done
mkdir -p $out/share/info
cp -v *.info* $out/share/info/
'';
}) super.hledger-web;


# https://github.com/haskell-hvr/resolv/pull/6
resolv_0_1_1_2 = dontCheck super.resolv_0_1_1_2;

Expand Down Expand Up @@ -1394,21 +1409,24 @@ self: super: {
});
};


# 2023-04-16: https://github.com/ghcjs/jsaddle/pull/137
jsaddle-webkit2gtk = lib.pipe super.jsaddle-webkit2gtk
[
(appendPatch (fetchpatch {
url = "https://github.com/ghcjs/jsaddle/commit/f990366f19d23a8008d482572d52351c1a6f7215.patch";
hash = "sha256-IbkJrlyG6q5rqMIhn//Dt3u6T314Pug+mQMwwe0LK5w=";
relative = "jsaddle-webkit2gtk";
}))
(overrideCabal (old: {
postPatch = old.postPatch or "" + ''
sed -i 's/bytestring.*0.11/bytestring/' jsaddle-webkit2gtk.cabal
'';
}))
];
# 2023-06-24: too strict upper bound on bytestring
jsaddle-webkit2gtk =
appendPatches [
(pkgs.fetchpatch {
name = "jsaddle-webkit2gtk-ghc-9.2.patch";
url = "https://github.com/ghcjs/jsaddle/commit/d2ce9e6be1dcba0ab417314a0b848012d1a47e03.diff";
stripLen = 1;
includes = [ "jsaddle-webkit2gtk.cabal" ];
sha256 = "16pcs3l7s8shhcnrhi80bwjgy7w23csd9b8qpmc5lnxn4wxr4c2r";
})
(pkgs.fetchpatch {
name = "jsaddle-webkit2gtk-ghc-9.6.patch";
url = "https://github.com/ghcjs/jsaddle/commit/99b23dac8b4c5b23f5ed7963e681a46c1abdd1a5.patch";
sha256 = "02rdifap9vzf6bhjp5siw68ghjrxh2phzd0kwjihf3hxi4a2xlp3";
stripLen = 1;
includes = [ "jsaddle-webkit2gtk.cabal" ];
})
] super.jsaddle-webkit2gtk;

# 2022-03-16: lens bound can be loosened https://github.com/ghcjs/jsaddle-dom/issues/19
jsaddle-dom = overrideCabal (old: {
Expand Down Expand Up @@ -1484,6 +1502,12 @@ self: super: {
sha256 = "1c5ck2ibag2gcyag6rjivmlwdlp5k0dmr8nhk7wlkzq2vh7zgw63";
}) super.splot;

# Fix build with newer monad-logger: https://github.com/obsidiansystems/monad-logger-extras/pull/5
monad-logger-extras = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/monad-logger-extras/commit/55d414352e740a5ecacf313732074d9b4cf2a6b3.patch";
sha256 = "sha256-xsQbr/QIrgWR0uwDPtV0NRTbVvP0tR9bY9NMe1JzqOw=";
}) super.monad-logger-extras;

# Fails with encoding problems, likely needs locale data.
# Test can be executed by adding which to testToolDepends and
# $PWD/dist/build/haskeline-examples-Test to $PATH.
Expand Down Expand Up @@ -1584,7 +1608,9 @@ self: super: {
# so add them to build input and also wrap the resulting binary so they're in
# PATH.
# - Patch can be removed on next package set bump (for v0.2.11)
update-nix-fetchgit = let deps = [ pkgs.git pkgs.nix pkgs.nix-prefetch-git ];

# 2023-06-26: Test failure: https://hydra.nixos.org/build/225081865
update-nix-fetchgit = dontCheck (let deps = [ pkgs.git pkgs.nix pkgs.nix-prefetch-git ];
in self.generateOptparseApplicativeCompletions [ "update-nix-fetchgit" ] (overrideCabal
(drv: {
buildTools = drv.buildTools or [ ] ++ [ pkgs.buildPackages.makeWrapper ];
Expand All @@ -1593,7 +1619,7 @@ self: super: {
lib.makeBinPath deps
}"
'';
}) (addTestToolDepends deps super.update-nix-fetchgit));
}) (addTestToolDepends deps super.update-nix-fetchgit)));

# Raise version bounds: https://github.com/idontgetoutmuch/binary-low-level/pull/16
binary-strict = appendPatches [
Expand Down Expand Up @@ -2371,6 +2397,10 @@ self: super: {
sha256 = "1lpcz671mk5cwqffjfi9ncc0d67bmwgzypy3i37a2fhfmxd0y3nl";
}) ((p: assert p.version == "4.0.0"; p) super.taffybar);

# Tests likely broke because of https://github.com/nick8325/quickcheck/issues/359,
# but fft is not on GitHub, so no issue reported.
fft = dontCheck super.fft;

# lucid-htmx has restrictive upper bounds on lucid and servant:
#
# Setup: Encountered missing or private dependencies:
Expand Down Expand Up @@ -2608,7 +2638,7 @@ self: super: {

# Tests fail due to the newly-build fourmolu not being in PATH
# https://github.com/fourmolu/fourmolu/issues/231
fourmolu_0_12_0_0 = dontCheck (super.fourmolu_0_12_0_0.overrideScope (lself: lsuper: {
fourmolu_0_13_0_0 = dontCheck (super.fourmolu_0_13_0_0.overrideScope (lself: lsuper: {
Cabal-syntax = lself.Cabal-syntax_3_10_1_0;
ghc-lib-parser = lself.ghc-lib-parser_9_6_2_20230523;
parsec = lself.parsec_3_1_16_1;
Expand All @@ -2622,4 +2652,8 @@ self: super: {
url = "https://github.com/vincenthz/hs-gauge/commit/3d7776f41187c70c4f0b4517e6a7dde10dc02309.patch";
hash = "sha256-4osUMo0cvTvyDTXF8lY9tQbFqLywRwsc3RkHIhqSriQ=";
}) super.gauge;

# Flaky QuickCheck tests
# https://github.com/Haskell-Things/ImplicitCAD/issues/441
implicit = dontCheck super.implicit;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ in {
ghc-exactprint = overrideCabal (drv: {
libraryHaskellDepends = with self; [ HUnit data-default fail filemanip free ghc-paths ordered-containers silently syb Diff ];
})
self.ghc-exactprint_1_6_1_1;
self.ghc-exactprint_1_6_1_3;

# needed to build servant
http-api-data = super.http-api-data_0_5_1;
Expand Down
50 changes: 39 additions & 11 deletions pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ self: super: {
turtle = doDistribute self.turtle_1_6_1;
aeson = doDistribute self.aeson_2_1_2_1;
memory = doDistribute self.memory_0_18_0;
semigroupoids = doDistribute self.semigroupoids_6_0_0_1;
bifunctors = doDistribute self.bifunctors_5_6_1;
cabal-plan = doDistribute self.cabal-plan_0_7_3_0;
base-compat = doDistribute self.base-compat_0_13_0;
base-compat-batteries = doDistribute self.base-compat-batteries_0_13_0;
semialign = doDistribute self.semialign_1_3;
assoc = doDistribute self.assoc_1_1;
strict = doDistribute self.strict_0_5;

ghc-lib = doDistribute self.ghc-lib_9_6_2_20230523;
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_6_2_20230523;
Expand Down Expand Up @@ -111,15 +119,6 @@ self: super: {
# Too strict bounds, waiting on Hackage release in nixpkgs
#

# base >= 4.18 is allowed in those newer versions
boring = assert !(self ? boring_0_2_1); doJailbreak super.boring;
these = assert !(self ? assoc_1_2); doJailbreak super.these;

# XXX: We probably should be using semigroupoids 6.0.1 which is intended for 9.6
semigroupoids = doJailbreak super.semigroupoids;
# XXX: 1.3 supports 9.6 properly, but is intended for bifunctors >= 5.6
semialign = doJailbreak super.semialign;

#
# Compilation failure workarounds
#
Expand Down Expand Up @@ -183,9 +182,12 @@ self: super: {
hiedb = dontCheck super.hiedb;
retrie = dontCheck (super.retrie);

# break infinite recursion with foldable1-classes-compat's test suite, which depends on 'these'.
these = doDistribute (super.these_1_2.override { foldable1-classes-compat = dontCheck super.foldable1-classes-compat; });

ghc-exactprint = unmarkBroken (addBuildDepends (with self.ghc-exactprint.scope; [
HUnit Diff data-default extra fail free ghc-paths ordered-containers silently syb
]) super.ghc-exactprint_1_7_0_0);
]) super.ghc-exactprint_1_7_0_1);

inherit (pkgs.lib.mapAttrs (_: doJailbreak ) super)
hls-cabal-plugin
Expand All @@ -200,5 +202,31 @@ self: super: {
tree-diff
implicit-hie-cradle
focus
hie-compat;
hie-compat
xmonad-contrib # mtl >=1 && <2.3
dbus # template-haskell >=2.18 && <2.20, transformers <0.6, unix <2.8
;

# Apply workaround for Cabal 3.8 bug https://github.com/haskell/cabal/issues/8455
# by making `pkg-config --static` happy. Note: Cabal 3.9 is also affected, so
# the GHC 9.6 configuration may need similar overrides eventually.
X11-xft = __CabalEagerPkgConfigWorkaround super.X11-xft;
# Jailbreaks for https://github.com/gtk2hs/gtk2hs/issues/323#issuecomment-1416723309
glib = __CabalEagerPkgConfigWorkaround (doJailbreak super.glib);
cairo = __CabalEagerPkgConfigWorkaround (doJailbreak super.cairo);
pango = __CabalEagerPkgConfigWorkaround (doJailbreak super.pango);

# Pending text-2.0 support https://github.com/gtk2hs/gtk2hs/issues/327
gtk = doJailbreak super.gtk;

# Doctest comments have bogus imports.
bsb-http-chunked = dontCheck super.bsb-http-chunked;

# Fix ghc-9.6.x build errors.
libmpd = appendPatch
(pkgs.fetchpatch { url = "https://github.com/vimus/libmpd-haskell/pull/138.patch";
sha256 = "sha256-CvvylXyRmoCoRJP2MzRwL0SBbrEzDGqAjXS+4LsLutQ=";
})
super.libmpd;

}
Loading