diff --git a/flake.nix b/flake.nix index 63909265..ee2ddeb9 100644 --- a/flake.nix +++ b/flake.nix @@ -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!