From 2540e90a5bcd5a3576621644389c94a0139ed4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20B=C3=A4renz?= Date: Sat, 16 Nov 2024 14:05:19 +0100 Subject: [PATCH] Remove broken dev tools for older GHCs --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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!