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;