about summary refs log tree commit diff
path: root/pkgs/by-name/ge/geoserver/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ge/geoserver/package.nix')
-rw-r--r--pkgs/by-name/ge/geoserver/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ge/geoserver/package.nix b/pkgs/by-name/ge/geoserver/package.nix
index ed1c82f80643..76a68eea8c3a 100644
--- a/pkgs/by-name/ge/geoserver/package.nix
+++ b/pkgs/by-name/ge/geoserver/package.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: rec {
   installPhase =
     let
       inputs = finalAttrs.buildInputs or [ ];
-      ldLibraryPathEnvName = if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
+      ldLibraryPathEnvName = if stdenv.hostPlatform.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH";
     in
     ''
       runHook preInstall