about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cmd2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cmd2/default.nix')
-rw-r--r--pkgs/development/python-modules/cmd2/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cmd2/default.nix b/pkgs/development/python-modules/cmd2/default.nix
index c78eda407871..75b2d0547909 100644
--- a/pkgs/development/python-modules/cmd2/default.nix
+++ b/pkgs/development/python-modules/cmd2/default.nix
@@ -60,7 +60,7 @@ buildPythonPackage rec {
     ''
       sed -i "/--cov/d" setup.cfg
     ''
-    + lib.optionalString stdenv.isDarwin ''
+    + lib.optionalString stdenv.hostPlatform.isDarwin ''
       # Fake the impure dependencies pbpaste and pbcopy
       mkdir bin
       echo '#!${stdenv.shell}' > bin/pbpaste
@@ -69,7 +69,7 @@ buildPythonPackage rec {
       export PATH=$(realpath bin):$PATH
     '';
 
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   pythonImportsCheck = [ "cmd2" ];