diff options
author | Arnout Engelen <arnout@bzzt.net> | 2021-04-26 11:07:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 11:07:34 +0200 |
commit | 48c952c039b224ea4bde5afa6c9a9b88fa46e550 (patch) | |
tree | 58d97305e19be9d2319754ef2b2de300a36f2b14 /pkgs/stdenv | |
parent | 28c3da370d798800403706d6ad58e2a104c2f6ea (diff) | |
parent | a961aeadae1abcce472014e3d0d7d34f83fe7685 (diff) |
Merge pull request #112928 from baloo/baloo/gcc/reproducible
stdenv: provide a deterministically built gcc
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index f753af4992674..13003a449860e 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -274,6 +274,10 @@ in isl_0_20 = super.isl_0_20.override { stdenv = self.makeStaticLibraries self.stdenv; }; gcc-unwrapped = super.gcc-unwrapped.override { isl = isl_0_20; + # Use a deterministically built compiler + # see https://github.com/NixOS/nixpkgs/issues/108475 for context + reproducibleBuild = true; + profiledCompiler = false; }; }; extraNativeBuildInputs = [ prevStage.patchelf ] ++ |