about summary refs log tree commit diff
path: root/pkgs/tools/text/rosie/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/rosie/default.nix')
-rw-r--r--pkgs/tools/text/rosie/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/rosie/default.nix b/pkgs/tools/text/rosie/default.nix
index 0a87425a16a7..5cad6650d2ce 100644
--- a/pkgs/tools/text/rosie/default.nix
+++ b/pkgs/tools/text/rosie/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
     sed -iE '/ld.so.conf.d/d' Makefile
   '';
 
-  preInstall = lib.optionalString stdenv.isDarwin ''
+  preInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -add_rpath $out/lib build/bin/rosie
     install_name_tool -id $out/lib/librosie.dylib build/lib/librosie.dylib
   '';