about summary refs log tree commit diff
path: root/pkgs/by-name/gm/gmic/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gm/gmic/package.nix')
-rw-r--r--pkgs/by-name/gm/gmic/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/gm/gmic/package.nix b/pkgs/by-name/gm/gmic/package.nix
index 602f9cc80294..71402ab7e89a 100644
--- a/pkgs/by-name/gm/gmic/package.nix
+++ b/pkgs/by-name/gm/gmic/package.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
   postPatch = ''
     cp -r ${finalAttrs.gmic_stdlib} src/gmic_stdlib_community.h
   ''
-  + lib.optionalString stdenv.isDarwin ''
+  + lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace CMakeLists.txt \
       --replace "LD_LIBRARY_PATH" "DYLD_LIBRARY_PATH"
   '';