about summary refs log tree commit diff
path: root/pkgs/development/python-modules/commoncode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/commoncode/default.nix')
-rw-r--r--pkgs/development/python-modules/commoncode/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/commoncode/default.nix b/pkgs/development/python-modules/commoncode/default.nix
index 359f1935f2fc..3e8c1eb0182e 100644
--- a/pkgs/development/python-modules/commoncode/default.nix
+++ b/pkgs/development/python-modules/commoncode/default.nix
@@ -57,7 +57,7 @@ buildPythonPackage rec {
       "test_walk_can_walk_non_utf8_path_from_unicode_path"
       "test_resource_iter_can_walk_non_utf8_path_from_unicode_path_with_dirs"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # expected result is tailored towards the quirks of upstream's
       # CI environment on darwin
       "test_searchable_paths"