about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rstcheck/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/rstcheck/default.nix')
-rw-r--r--pkgs/development/python-modules/rstcheck/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/rstcheck/default.nix b/pkgs/development/python-modules/rstcheck/default.nix
index a403db708681..206f9192d92a 100644
--- a/pkgs/development/python-modules/rstcheck/default.nix
+++ b/pkgs/development/python-modules/rstcheck/default.nix
@@ -43,7 +43,7 @@ buildPythonPackage rec {
 
   nativeCheckInputs = [ pytestCheckHook ];
 
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     # Disabled until https://github.com/rstcheck/rstcheck-core/issues/19 is resolved.
     "test_error_without_config_file_macos"
     "test_file_1_is_bad_without_config_macos"