From 58707589d253fc85889d8a43bd36fd64740402c6 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 1 Nov 2016 11:01:51 +0100 Subject: [PATCH] haskell-xxhash: fix build with GHC 8.x --- .../development/haskell-modules/configuration-ghc-8.0.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index 5c7348678b7..c398ec615da 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -60,4 +60,10 @@ self: super: { sha256 = "026vv2k3ks73jngwifszv8l59clg88pcdr4mz0wr0gamivkfa1zy"; }); + xxhash = overrideCabal super.xxhash (drv: { + postPatch = (drv.postPatch or "") + '' + sed -i -e 's| && <4.7||g' xxhash.cabal + ''; + }); + }