mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +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;
|
||||
inherit ({
|
||||
gcc = pkgs.${"gcc${toString default-gcc-version}"};
|
||||
gccFun = callPackage (../development/compilers/gcc + "/${toString default-gcc-version}");
|
||||
gccFun = callPackage ../development/compilers/gcc;
|
||||
}) gcc gccFun;
|
||||
gcc-unwrapped = gcc.cc;
|
||||
|
||||
@ -15770,6 +15770,7 @@ with pkgs;
|
||||
cc = gccFun {
|
||||
# copy-pasted
|
||||
inherit noSysDirs;
|
||||
majorMinorVersion = toString default-gcc-version;
|
||||
|
||||
reproducibleBuild = true;
|
||||
profiledCompiler = false;
|
||||
|
Loading…
Reference in New Issue
Block a user