about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cherrypy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cherrypy/default.nix')
-rw-r--r--pkgs/development/python-modules/cherrypy/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix
index 71d9a9aedfb5..c9a63cc21505 100644
--- a/pkgs/development/python-modules/cherrypy/default.nix
+++ b/pkgs/development/python-modules/cherrypy/default.nix
@@ -101,9 +101,11 @@ buildPythonPackage rec {
       "test_1_Ram_Concurrency"
       "test_2_File_Concurrency"
     ]
-    ++ lib.optionals stdenv.isDarwin [ "test_block" ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_block" ];
 
-  disabledTestPaths = lib.optionals stdenv.isDarwin [ "cherrypy/test/test_config_server.py" ];
+  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
+    "cherrypy/test/test_config_server.py"
+  ];
 
   __darwinAllowLocalNetworking = true;