From a78ae3bea4fc826f8c2e767ea1d0c6aae012a890 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Fri, 25 Jul 2014 17:01:06 +0200 Subject: [PATCH] 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. --- pkgs/development/libraries/haskell/bloomfilter/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/haskell/bloomfilter/default.nix b/pkgs/development/libraries/haskell/bloomfilter/default.nix index 6eae9a30da6..2494f08eaac 100644 --- a/pkgs/development/libraries/haskell/bloomfilter/default.nix +++ b/pkgs/development/libraries/haskell/bloomfilter/default.nix @@ -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 ];