about summary refs log tree commit diff
path: root/pkgs/by-name/ju/just/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ju/just/package.nix')
-rw-r--r--pkgs/by-name/ju/just/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ju/just/package.nix b/pkgs/by-name/ju/just/package.nix
index 3dfcd639f5d1..169829952641 100644
--- a/pkgs/by-name/ju/just/package.nix
+++ b/pkgs/by-name/ju/just/package.nix
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-X3noVDRnnrR6xuOBfoH4JPdcPLOBHbGQb6opNvzK/TE=";
 
   nativeBuildInputs = [ installShellFiles mdbook ];
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   preCheck = ''
     # USER must not be empty