about summary refs log tree commit diff
path: root/pkgs/development/libraries/proj/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/proj/default.nix')
-rw-r--r--pkgs/development/libraries/proj/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/proj/default.nix b/pkgs/development/libraries/proj/default.nix
index 8fedba3ef08c..615d2590c023 100644
--- a/pkgs/development/libraries/proj/default.nix
+++ b/pkgs/development/libraries/proj/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   preCheck =
     let
-      libPathEnvVar = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
+      libPathEnvVar = if stdenv.hostPlatform.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
     in
       ''
         export HOME=$TMPDIR