From c65e48ca96bcd7b86f7e6d988cbef1607fc2047c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 9 May 2015 11:49:54 +0200 Subject: [PATCH] haskell-sandi: jailbreak restriction on "base == 4.8.*" so that we can build git-annex and hledger Reported in https://github.com/magthe/sandi/issues/7. --- pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix | 5 +++++ pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index 1adccd36dca..8be816b0c9b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -80,4 +80,9 @@ self: super: { # and are virtually impossible to compile on Hydra. conduit = super.conduit_1_2_4_1; + # https://github.com/magthe/sandi/issues/7 + sandi = overrideCabal super.sandi (drv: { + patchPhase = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal"; } + ); + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix index f481f75c2f8..21fdc86d89a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -136,4 +136,9 @@ self: super: { # and are virtually impossible to compile on Hydra. conduit = super.conduit_1_2_4_1; + # https://github.com/magthe/sandi/issues/7 + sandi = overrideCabal super.sandi (drv: { + patchPhase = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal"; } + ); + }