about summary refs log tree commit diff
path: root/pkgs/misc/t-rec/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/t-rec/default.nix')
-rw-r--r--pkgs/misc/t-rec/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/t-rec/default.nix b/pkgs/misc/t-rec/default.nix
index ac99abb7e5cd..c67a8d60557b 100644
--- a/pkgs/misc/t-rec/default.nix
+++ b/pkgs/misc/t-rec/default.nix
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ makeWrapper ];
   buildInputs = [ imagemagick ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv Foundation ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Foundation ];
 
   postInstall = ''
     wrapProgram "$out/bin/t-rec" --prefix PATH : "${binPath}"