From da8712e4e918d7ce0893d499a16a48b0873f223f Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 15 Aug 2017 06:02:19 +0200 Subject: [PATCH] haskellPackages.shell-conduit: fix failing test --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 9d916e70645..cc1adff9547 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -87,6 +87,11 @@ self: super: { hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify; }; + # Fix test trying to access /home directory + shell-conduit = (overrideCabal super.shell-conduit (drv: { + postPatch = "sed -i s/home/tmp/ test/Spec.hs"; + })); + # https://github.com/froozen/kademlia/issues/2 kademlia = dontCheck super.kademlia;