about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPatrick Callahan <patrick.callahan@sigfig.com>2017-09-13 12:04:53 -0700
committerPatrick Callahan <patrick.callahan@sigfig.com>2017-09-15 09:51:36 -0700
commit12aa8b2f2b1452875033ea7ca90226ad1929e26e (patch)
treeb0ecf9b3a84245555b5662433fb334dfb57841c1 /pkgs
parent42f243922871d7fd2d261ba39379c7d9ecaae39f (diff)
downloadnixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar.gz
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar.bz2
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar.lz
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar.xz
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.tar.zst
nixlib-12aa8b2f2b1452875033ea7ca90226ad1929e26e.zip
shell-conduit: disable tests on Darwin to fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 77c94f9f2502..c87e2e5cfe74 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -104,6 +104,10 @@ self: super: {
   # Fix test trying to access /home directory
   shell-conduit = (overrideCabal super.shell-conduit (drv: {
     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