From 6bbdad7d111a30d28ebed085bbdedafe1201910f Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 1 Nov 2016 11:34:14 +0100 Subject: [PATCH] haskell-xxhash: Use doJailbreak instead of sed --- .../haskell-modules/configuration-ghc-8.0.x.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 c398ec615da..b01620e7a9a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -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; }