about summary refs log tree commit diff
path: root/pkgs/tools/text/amber/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/amber/default.nix')
-rw-r--r--pkgs/tools/text/amber/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/amber/default.nix b/pkgs/tools/text/amber/default.nix
index 0b81281fad1a..ce8243770b04 100644
--- a/pkgs/tools/text/amber/default.nix
+++ b/pkgs/tools/text/amber/default.nix
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-nBSgP30Izskq9RbhVIyqWzZgG5ZWHVdiukldw+Q0rco=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];
 
   meta = with lib; {
     description = "Code search-and-replace tool";