From e914f157288dea280431e80e99e3bf7892601187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Thu, 1 May 2014 14:50:01 +0200 Subject: [PATCH] haskell-cabal-bounds: avoid rebuild of Cabal --- pkgs/top-level/haskell-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 3eec6e54b098..dc39671fc765 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -3067,7 +3067,9 @@ 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 = self.Cabal_1_18_1_3; + Cabal = if pkgs.stdenv.lib.versionAtLeast "7.8" ghc.version + then null + else self.Cabal_1_18_1_3; }; cabalDev = callPackage ../development/tools/haskell/cabal-dev {};