about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hfst/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/hfst/default.nix')
-rw-r--r--pkgs/development/python-modules/hfst/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/hfst/default.nix b/pkgs/development/python-modules/hfst/default.nix
index 06e2ed94bb03..37869ffad3e3 100644
--- a/pkgs/development/python-modules/hfst/default.nix
+++ b/pkgs/development/python-modules/hfst/default.nix
@@ -30,7 +30,7 @@ buildPythonPackage rec {
   setupPyBuildFlags = [ "--inplace" ];
 
   # Find foma in Darwin tests
-  preCheck = lib.optionalString stdenv.isDarwin ''
+  preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
     export DYLD_LIBRARY_PATH="${foma}/lib"
   '';