diff options
author | Atemu <atemu.main@gmail.com> | 2022-12-12 17:59:18 +0100 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-12-27 18:37:21 +1000 |
commit | 3eec3c8fed0251563841e26e044600139c2f92eb (patch) | |
tree | 449f12127b0208d5c185c92813002d97485da6fb /pkgs/development/compilers/rust | |
parent | 7843a268f214f89dba7fdab1030872bdc96b9606 (diff) | |
download | nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar.gz nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar.bz2 nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar.lz nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar.xz nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.tar.zst nixlib-3eec3c8fed0251563841e26e044600139c2f92eb.zip |
buildRustPackage: remove git from nativeBuildInputs
Having git in nativeBuildInputs causes thousands of rebuilds when git is touched because every derivation that somehow transiently depends on a rust package will change. See https://github.com/NixOS/nixpkgs/pull/205682 for instance. AFAICT git is unused. Only the fetcher needs git which it has already. Fixes https://github.com/NixOS/nixpkgs/issues/205804
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/make-rust-platform.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/make-rust-platform.nix b/pkgs/development/compilers/rust/make-rust-platform.nix index 7e98684ecff1..fcfd02dcf6cd 100644 --- a/pkgs/development/compilers/rust/make-rust-platform.nix +++ b/pkgs/development/compilers/rust/make-rust-platform.nix @@ -13,7 +13,6 @@ rec { }; buildRustPackage = callPackage ../../../build-support/rust/build-rust-package { - git = buildPackages.gitMinimal; inherit stdenv cargoBuildHook cargoCheckHook cargoInstallHook cargoNextestHook cargoSetupHook fetchCargoTarball importCargoLock rustc; }; |