diff --git a/pkgs/development/compilers/rust/make-rust-platform.nix b/pkgs/development/compilers/rust/make-rust-platform.nix index 584b1fdbe438..ae943fd41983 100644 --- a/pkgs/development/compilers/rust/make-rust-platform.nix +++ b/pkgs/development/compilers/rust/make-rust-platform.nix @@ -8,10 +8,12 @@ rec { }; fetchCargoTarball = buildPackages.callPackage ../../../build-support/rust/fetchCargoTarball.nix { + git = buildPackages.gitMinimal; inherit cargo; }; buildRustPackage = callPackage ../../../build-support/rust { + git = buildPackages.gitMinimal; inherit cargoBuildHook cargoCheckHook cargoInstallHook cargoSetupHook fetchCargoTarball rustc; };