amber: Fix build (#120126)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Benjamin Esham Sandro and committed by GitHub 3238e9f2 027250d7

+2 -2
+2 -2
pkgs/tools/text/amber/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, rustPlatform 2 - , Security 3 }: 4 5 rustPlatform.buildRustPackage rec { ··· 15 16 cargoSha256 = "sha256-opRinhTmhZxpAwHNiVOLXL8boQf09Y1NXrWQ6HWQYQ0="; 17 18 - buildInputs = lib.optional stdenv.isDarwin Security; 19 20 meta = with lib; { 21 description = "A code search-and-replace tool";
··· 1 { lib, stdenv, fetchFromGitHub, rustPlatform 2 + , libiconv, Security 3 }: 4 5 rustPlatform.buildRustPackage rec { ··· 15 16 cargoSha256 = "sha256-opRinhTmhZxpAwHNiVOLXL8boQf09Y1NXrWQ6HWQYQ0="; 17 18 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 19 20 meta = with lib; { 21 description = "A code search-and-replace tool";