mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
gcc: update gccFun for deduplicated gcc expressions
This commit is contained in:
parent
30171782b7
commit
74dce901aa
@ -15669,7 +15669,7 @@ with pkgs;
|
|||||||
else 12;
|
else 12;
|
||||||
inherit ({
|
inherit ({
|
||||||
gcc = pkgs.${"gcc${toString default-gcc-version}"};
|
gcc = pkgs.${"gcc${toString default-gcc-version}"};
|
||||||
gccFun = callPackage (../development/compilers/gcc + "/${toString default-gcc-version}");
|
gccFun = callPackage ../development/compilers/gcc;
|
||||||
}) gcc gccFun;
|
}) gcc gccFun;
|
||||||
gcc-unwrapped = gcc.cc;
|
gcc-unwrapped = gcc.cc;
|
||||||
|
|
||||||
@ -15770,6 +15770,7 @@ with pkgs;
|
|||||||
cc = gccFun {
|
cc = gccFun {
|
||||||
# copy-pasted
|
# copy-pasted
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
majorMinorVersion = toString default-gcc-version;
|
||||||
|
|
||||||
reproducibleBuild = true;
|
reproducibleBuild = true;
|
||||||
profiledCompiler = false;
|
profiledCompiler = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user