cargo-limit: use new darwin sdk pattern

This commit is contained in:
Nick Cao 2024-11-22 17:22:36 -05:00
parent 9ef707ba95
commit 9ae65801e4
No known key found for this signature in database

View File

@ -2,8 +2,6 @@
, rustPlatform
, fetchFromGitHub
, nix-update-script
, stdenv
, libiconv
}:
rustPlatform.buildRustPackage rec {
@ -19,8 +17,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-dwqbG0UFeUQHa0K98ebHfjbcQuQOhK2s6ZxAT6r0cik=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
passthru = {
updateScript = nix-update-script { };
};