about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-jenkins/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-jenkins/default.nix')
-rw-r--r--pkgs/development/python-modules/python-jenkins/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/python-jenkins/default.nix b/pkgs/development/python-modules/python-jenkins/default.nix
index 8afb965dbaca4..e06a0760fbdd6 100644
--- a/pkgs/development/python-modules/python-jenkins/default.nix
+++ b/pkgs/development/python-modules/python-jenkins/default.nix
@@ -28,7 +28,7 @@ buildPythonPackage rec {
 
   # test uses timeout mechanism unsafe for use with the "spawn"
   # multiprocessing backend used on macos
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace tests/test_jenkins_sockets.py \
       --replace test_jenkins_open_no_timeout dont_test_jenkins_open_no_timeout
   '';