about summary refs log tree commit diff
path: root/pkgs/tools/text/amber
diff options
context:
space:
mode:
authorBenjamin Esham <benjamin@esham.io>2021-04-21 18:15:47 -0700
committerGitHub <noreply@github.com>2021-04-22 03:15:47 +0200
commit3238e9f2e0794e4229dafffd99a8ffee44890c8f (patch)
tree8a4955314aac595a3005f736da7b08337277d40d /pkgs/tools/text/amber
parent027250d7be6d121d2d3917e7fd579bde4519903b (diff)
downloadnixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar.gz
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar.bz2
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar.lz
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar.xz
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.tar.zst
nixlib-3238e9f2e0794e4229dafffd99a8ffee44890c8f.zip
amber: Fix build (#120126)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/text/amber')
-rw-r--r--pkgs/tools/text/amber/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/amber/default.nix b/pkgs/tools/text/amber/default.nix
index 632a318e8620..1cd9e74f1943 100644
--- a/pkgs/tools/text/amber/default.nix
+++ b/pkgs/tools/text/amber/default.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, fetchFromGitHub, rustPlatform
-, Security
+, libiconv, Security
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "sha256-opRinhTmhZxpAwHNiVOLXL8boQf09Y1NXrWQ6HWQYQ0=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
 
   meta = with lib; {
     description = "A code search-and-replace tool";