3
0
Fork 0
forked from mirrors/nixpkgs

darcs: pass old zlib version 0.5.x to fix the build

This commit is contained in:
Peter Simons 2015-05-16 00:30:07 +02:00
parent 0a87fd8890
commit c3add19437

View file

@ -151,11 +151,11 @@ self: super: {
wai-test = dontHaddock super.wai-test; wai-test = dontHaddock super.wai-test;
zlib-conduit = dontHaddock super.zlib-conduit; zlib-conduit = dontHaddock super.zlib-conduit;
# jailbreak doesn't get the job done because the Cabal file uses conditionals a lot. # Jailbreak doesn't get the job done because the Cabal file uses conditionals a lot.
darcs = overrideCabal super.darcs (drv: { darcs = (overrideCabal super.darcs (drv: {
doCheck = false; # The test suite won't even start. 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 # https://github.com/massysett/rainbox/issues/1
rainbox = dontCheck super.rainbox; rainbox = dontCheck super.rainbox;