amber: Fix build (#120126)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Benjamin Esham 2021-04-21 18:15:47 -07:00 committed by GitHub
parent 027250d7be
commit 3238e9f2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";