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"; } + ); + }