Fix bloomfilter package on 32 bits

The git-annex derivation depends on bloomfilter and it's currently broken on
i686 because of this.  Upstream bloomfilter pull request already sent, this
is for the meantime.
This commit is contained in:
Gergely Risko 2014-07-25 17:01:06 +02:00
parent 7acfec9e47
commit a78ae3bea4

View file

@ -9,6 +9,10 @@ cabal.mkDerivation (self: {
version = "2.0.0.0";
sha256 = "07fif8i5rinysli1mpi92k405kvw8va7w9v9w4wd5bylb87zy77f";
buildDepends = [ deepseq ];
# https://github.com/bos/bloomfilter/pull/8
preConfigure = ''
sed -i -e "s/0xffffffff/0x7fffffff/" Data/BloomFilter/Easy.hs
'';
testDepends = [
QuickCheck random testFramework testFrameworkQuickcheck2
];