diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7e3151c95587..cfa3c8673c32 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -3065,7 +3065,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x cabalDelete = callPackage ../development/tools/haskell/cabal-delete {}; cabalBounds = callPackage ../development/tools/haskell/cabal-bounds { - Cabal = if pkgs.stdenv.lib.versionAtLeast "7.8" ghc.version + Cabal = if pkgs.stdenv.lib.versionOlder "7.7" ghc.version then null else self.Cabal_1_18_1_3; };