haskell-snap: jailbreak to fix build with current attoparsec and lens libraries

This commit is contained in:
Peter Simons 2015-05-18 11:46:40 +02:00
parent b9152b89c2
commit c959a59f47

View File

@ -813,4 +813,9 @@ self: super: {
cheapskate = markBrokenVersion "0.1.0.3" super.cheapskate;
lit = dontDistribute super.lit;
# https://github.com/snapframework/snap/issues/148
snap = overrideCabal super.snap (drv: {
patchPhase = "sed -i -e 's|attoparsec.*>=.*,|attoparsec,|' -e 's|lens.*>=.*|lens|' snap.cabal";
});
}