Skip to content

Commit 1001b4e

Browse files
committed
Fix for ghcjs
1 parent 5a8b623 commit 1001b4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

overlays/hackage-quirks.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ in { haskell-nix = prev.haskell-nix // {
2222
# Version of of cabal-install in hackage is broken for GHC 8.10.1
2323
(lib.optionalAttrs (version == "3.2.0.0") {
2424
packages.cabal-install.src = final.haskell-nix.sources.cabal-32 + "/cabal-install";
25+
})
26+
(lib.optionalAttrs (builtins.compareVersions version "3.0.0.0" >= 0
27+
&& builtins.compareVersions version "3.5" < 0) {
2528
# Include patches needed for ghcjs
2629
packages.Cabal.patches = [
2730
./patches/Cabal/Cabal-3.0.0.0-drop-pkg-db-check.diff

0 commit comments

Comments
 (0)