about summary refs log tree commit diff
path: root/pkgs/development/interpreters/chibi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/chibi/default.nix')
-rw-r--r--pkgs/development/interpreters/chibi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/chibi/default.nix b/pkgs/development/interpreters/chibi/default.nix
index b220ed834029..9cdd21a6b955 100644
--- a/pkgs/development/interpreters/chibi/default.nix
+++ b/pkgs/development/interpreters/chibi/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
   fixupPhase = ''
     wrapProgram "$out/bin/chibi-scheme" \
       --prefix CHIBI_MODULE_PATH : "$out/share/chibi:$out/lib/chibi" \
-      ${lib.optionalString stdenv.isDarwin "--prefix DYLD_LIBRARY_PATH : $out/lib"}
+      ${lib.optionalString stdenv.hostPlatform.isDarwin "--prefix DYLD_LIBRARY_PATH : $out/lib"}
 
     for f in chibi-doc chibi-ffi snow-chibi; do
       substituteInPlace "$out/bin/$f" \