gcc: update gccFun for deduplicated gcc expressions

This commit is contained in:
Adam Joseph 2023-08-17 02:31:07 -07:00
parent 30171782b7
commit 74dce901aa

View File

@ -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;