summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-30 18:43:29 +0100
committerPeter Simons <simons@cryp.to>2015-01-30 18:43:29 +0100
commit14cd6ae2a9554703044dba1c06b63c7ffd8f8572 (patch)
tree64b209958401d174b118c356631a981eed1b30c2 /pkgs
parent008256d8bdaf31a0cbf19507dac0384cc2027b23 (diff)
downloadnixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar.gz
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar.bz2
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar.lz
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar.xz
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.tar.zst
nixlib-14cd6ae2a9554703044dba1c06b63c7ffd8f8572.zip
haskell-cartel: fix build with ghc 7.10.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix6
1 files changed, 6 insertions, 0 deletions
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"; });
+
 }