shell-conduit: disable tests on Darwin to fix build

This commit is contained in:
Patrick Callahan 2017-09-13 12:04:53 -07:00
parent 42f2439228
commit 12aa8b2f2b

View file

@ -104,6 +104,10 @@ self: super: {
# Fix test trying to access /home directory # Fix test trying to access /home directory
shell-conduit = (overrideCabal super.shell-conduit (drv: { shell-conduit = (overrideCabal super.shell-conduit (drv: {
postPatch = "sed -i s/home/tmp/ test/Spec.hs"; postPatch = "sed -i s/home/tmp/ test/Spec.hs";
# the tests for shell-conduit on Darwin illegitimatey assume non-GNU echo
# see: https://github.com/psibi/shell-conduit/issues/12
doCheck = !pkgs.stdenv.hostPlatform.isDarwin;
})); }));
# https://github.com/froozen/kademlia/issues/2 # https://github.com/froozen/kademlia/issues/2