cargo-limit: fix build on darwin

This commit is contained in:
Stéphan Kochen
2021-05-10 00:05:38 -07:00
committed by Jonathan Ringer
parent c9e9814cde
commit 8c52ec99a2
@@ -2,6 +2,8 @@
, rustPlatform
, fetchFromGitHub
, nix-update-script
, stdenv
, libiconv
}:
rustPlatform.buildRustPackage rec {
@@ -17,6 +19,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-LxqxRtMKUKZeuvk1caoYy8rv1bkEOQBM8i5SXMF4GXc=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
passthru = {
updateScript = nix-update-script {
attrPath = pname;