Skip to content

Commit

Permalink
cargo-deb: fix build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed May 9, 2021
1 parent d9e8a89 commit 0677bf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/package-management/cargo-deb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, fetchFromGitHub
, rustPlatform
, rust
, libiconv
, Security
}:

Expand All @@ -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=";

Expand Down

0 comments on commit 0677bf3

Please sign in to comment.