about summary refs log tree commit diff
path: root/pkgs/development/python-modules/docutils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/docutils/default.nix')
-rw-r--r--pkgs/development/python-modules/docutils/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/docutils/default.nix b/pkgs/development/python-modules/docutils/default.nix
index cdfb53572213..695d351f03ca 100644
--- a/pkgs/development/python-modules/docutils/default.nix
+++ b/pkgs/development/python-modules/docutils/default.nix
@@ -37,7 +37,7 @@ let
     # Only Darwin needs LANG, but we could set it in general.
     # It's done here conditionally to prevent mass-rebuilds.
     checkPhase =
-      lib.optionalString stdenv.isDarwin ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" ''
+      lib.optionalString stdenv.hostPlatform.isDarwin ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" ''
       + ''
         ${python.interpreter} test/alltests.py
       '';