Skip to content

Commit

Permalink
Merge #174282: stdenv: switch default from gcc10 to gcc11
Browse files Browse the repository at this point in the history
...into staging-next
  • Loading branch information
vcunat committed Sep 10, 2022
2 parents cf964b4 + 00a0eeb commit 4897902
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13300,10 +13300,8 @@ with pkgs;
inherit (let
num =
if (with stdenv.targetPlatform; isVc4 || libc == "relibc") then 6
else if (stdenv.targetPlatform.isAarch64 && stdenv.isDarwin) then 11
else if (stdenv.targetPlatform.isx86_64 || stdenv.targetPlatform.isRiscV) then 11
else if stdenv.targetPlatform.isAarch64 then 9
else 10;
else if (stdenv.targetPlatform.isAarch64 && stdenv.isLinux) then 9
else 11;
numS = toString num;
in {
gcc = pkgs.${"gcc${numS}"};
Expand Down

0 comments on commit 4897902

Please sign in to comment.