diff options
author | Peter Simons <simons@cryp.to> | 2015-05-16 00:30:07 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-05-16 22:00:47 +0200 |
commit | c3add19437d1add9e313819eeb47f4854e7bef93 (patch) | |
tree | c51f42713c2ef4139c5e2fd00b9a44c990b773af /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 0a87fd8890e6311b292e73c17805f8c6df8509c1 (diff) | |
download | nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar.gz nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar.bz2 nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar.lz nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar.xz nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.tar.zst nixpkgs-c3add19437d1add9e313819eeb47f4854e7bef93.zip |
darcs: pass old zlib version 0.5.x to fix the build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 705da4df466..76675ef8755 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -151,11 +151,11 @@ self: super: { wai-test = dontHaddock super.wai-test; zlib-conduit = dontHaddock super.zlib-conduit; - # jailbreak doesn't get the job done because the Cabal file uses conditionals a lot. - darcs = overrideCabal super.darcs (drv: { + # Jailbreak doesn't get the job done because the Cabal file uses conditionals a lot. + darcs = (overrideCabal super.darcs (drv: { doCheck = false; # The test suite won't even start. - patchPhase = "sed -i -e 's|attoparsec.*,|attoparsec,|' darcs.cabal"; - }); + patchPhase = "sed -i -e 's|attoparsec .*,|attoparsec,|' darcs.cabal"; + })).overrideScope (self: super: { zlib = self.zlib_0_5_4_2; }); # https://github.com/massysett/rainbox/issues/1 rainbox = dontCheck super.rainbox; |