about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sh/default.nix')
-rw-r--r--pkgs/development/python-modules/sh/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/sh/default.nix b/pkgs/development/python-modules/sh/default.nix
index 51a4a9d842f6..655e93f4e964 100644
--- a/pkgs/development/python-modules/sh/default.nix
+++ b/pkgs/development/python-modules/sh/default.nix
@@ -43,7 +43,7 @@ buildPythonPackage rec {
       # https://github.com/amoffat/sh/issues/684
       "test_general_signal"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # Disable tests that fail on Darwin sandbox
       "test_background_exception"
       "test_cwd"