Merge pull request #122379 from stephank/fix-cargo-deb-darwin

cargo-deb: fix build on darwin
This commit is contained in:
Pavol Rusnak 2021-05-10 10:26:32 +02:00 committed by GitHub
commit 3531b9c870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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