3
0
Fork 0
forked from mirrors/nixpkgs

cargo-deb: fix build on darwin

This commit is contained in:
Stéphan Kochen 2021-05-09 21:31:25 +02:00
parent d9e8a89085
commit 0677bf3709

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, rustPlatform
, rust
, libiconv
, Security
}:
@ -17,7 +18,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-2eOWhxKZ+YPj5oKTe5g7PyeakiSNnPz27dK150GAcVQ=";
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
cargoSha256 = "sha256-QmchuY+4R7w0zMOdReH1m8idl9RI1hHE9VtbwT2K9YM=";