about summary refs log tree commit diff
path: root/pkgs/development/python-modules/werkzeug/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/werkzeug/default.nix')
-rw-r--r--pkgs/development/python-modules/werkzeug/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/werkzeug/default.nix b/pkgs/development/python-modules/werkzeug/default.nix
index 43758f06157b..be6cd79b788a 100644
--- a/pkgs/development/python-modules/werkzeug/default.nix
+++ b/pkgs/development/python-modules/werkzeug/default.nix
@@ -44,7 +44,7 @@ buildPythonPackage rec {
   propagatedBuildInputs = [ markupsafe ];
 
   passthru.optional-dependencies = {
-    watchdog = lib.optionals (!stdenv.isDarwin) [
+    watchdog = lib.optionals (!stdenv.hostPlatform.isDarwin) [
       # watchdog requires macos-sdk 10.13
       watchdog
     ];
@@ -63,7 +63,7 @@ buildPythonPackage rec {
 
   pythonImportsCheck = [ "werkzeug" ];
 
-  disabledTests = lib.optionals stdenv.isDarwin [ "test_get_machine_id" ];
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_get_machine_id" ];
 
   disabledTestPaths = [
     # ConnectionRefusedError: [Errno 111] Connection refused