diff options
author | Artturin <Artturin@artturin.com> | 2022-05-14 04:13:49 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-05-25 16:03:14 +0300 |
commit | 1d44ac176ce6de74ac912a5b043e948a87a6d2f5 (patch) | |
tree | e24df105f8085abbe7e449d1f5e6058d864514c0 /pkgs/stdenv | |
parent | 39a2f44695940e04dfdb107a1cdfcbc51daa9e50 (diff) |
treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same
when enableParallelBuildingByDefault is enabled verified with `nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 33fdce6b20698..956aeff494623 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -164,6 +164,7 @@ in pname = "bootstrap-stage0-${localSystem.libc}"; strictDeps = true; version = "bootstrap"; + enableParallelBuilding = true; buildCommand = '' mkdir -p $out ln -s ${bootstrapTools}/lib $out/lib @@ -268,6 +269,7 @@ in # apparently the interpreter needs to match libc, too. bintools = self.stdenvNoCC.mkDerivation { inherit (prevStage.bintools.bintools) name; + enableParallelBuilding = true; dontUnpack = true; dontBuild = true; strictDeps = true; |