Skip to content

Commit

Permalink
Remove broken dev tools for older GHCs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Bärenz authored and turion committed Nov 22, 2024
1 parent c2b98de commit 2540e90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
})
(hfinal: hprev: lib.optionalAttrs (lib.versionOlder hprev.ghc.version "9.4") {
time-domain = doJailbreak hprev.time-domain;
cabal-gild = null; # cabal-gild is only available from 9.4 onwards
})
(hfinal: hprev: lib.optionalAttrs (lib.versionOlder hprev.ghc.version "9.6") {
cabal-gild = doJailbreak hprev.cabal-gild;
fourmolu = doJailbreak hprev.fourmolu;
cabal-install = null; # Cannot rebuild cabal before 9.6
})
(hfinal: hprev: lib.optionalAttrs (lib.versionAtLeast hprev.ghc.version "9.10") {
# Remove these as nixpkgs progresses!
Expand Down

0 comments on commit 2540e90

Please sign in to comment.