about summary refs log tree commit diff
path: root/pkgs/development/python-modules/yamllint/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/yamllint/default.nix')
-rw-r--r--pkgs/development/python-modules/yamllint/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/yamllint/default.nix b/pkgs/development/python-modules/yamllint/default.nix
index ff7560587aa47..b645cd8b56e65 100644
--- a/pkgs/development/python-modules/yamllint/default.nix
+++ b/pkgs/development/python-modules/yamllint/default.nix
@@ -38,7 +38,7 @@ buildPythonPackage rec {
       # test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373
       "test_find_files_recursively"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # locale tests are broken on BSDs; see https://github.com/adrienverge/yamllint/issues/307
       "test_locale_accents"
       "test_locale_case"