haskell-cabal-bounds: use versionOlder

for some reason, versionAtLeast doesn't work
This commit is contained in:
Benno Fünfstück 2014-05-01 14:55:19 +02:00 committed by Peter Simons
parent 979520396e
commit 8310c6a403

View file

@ -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;
};