Merge pull request #194388 from tomhoule/make-rust-platform/import-cargo-lock-cargo-argument

makeRustPlatform: inherit cargo in import-cargo-lock
This commit is contained in:
Jörg Thalheim 2022-12-17 08:44:43 +00:00 committed by GitHub
commit b0213fb143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ rec {
fetchCargoTarball importCargoLock rustc;
};
importCargoLock = buildPackages.callPackage ../../../build-support/rust/import-cargo-lock.nix {};
importCargoLock = buildPackages.callPackage ../../../build-support/rust/import-cargo-lock.nix { inherit cargo; };
rustcSrc = callPackage ./rust-src.nix {
inherit runCommand rustc;