From 14cd6ae2a9554703044dba1c06b63c7ffd8f8572 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 30 Jan 2015 18:43:29 +0100 Subject: [PATCH] haskell-cartel: fix build with ghc 7.10.1 --- .../haskell-modules/configuration-ghc-7.10.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index 9111be3ba55e..6d56fd3b84db 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -86,4 +86,10 @@ self: super: { # Test suite fails in "/tokens_bytestring_unicode.g.bin". alex = dontCheck super.alex; + # Upstream was notified about the over-specified constraint on 'base' + # but refused to do anything about it because he "doesn't want to + # support a moving target". Go figure. + barecheck = doJailbreak super.barecheck; + cartel = overrideCabal super.cartel (drv: { doCheck = false; patchPhase = "sed -i -e 's|base >= .*|base|' cartel.cabal"; }); + }