haskell-xxhash: Use doJailbreak instead of sed

This commit is contained in:
Rickard Nilsson 2016-11-01 11:34:14 +01:00
parent ef1a188e07
commit 6bbdad7d11

View File

@ -60,10 +60,7 @@ self: super: {
sha256 = "026vv2k3ks73jngwifszv8l59clg88pcdr4mz0wr0gamivkfa1zy";
});
xxhash = overrideCabal super.xxhash (drv: {
postPatch = (drv.postPatch or "") + ''
sed -i -e 's| && <4.7||g' xxhash.cabal
'';
});
# https://github.com/christian-marie/xxhash/issues/3
xxhash = doJailbreak super.xxhash;
}