From 5b13c1e65713d1ebd19e8972adfb7ab9a4c2606d Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 22 Apr 2022 10:29:09 +0800 Subject: [PATCH] stdenv: use gcc11 for riscv --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd01fc2dd2d29..be637dafe8628 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12419,7 +12419,7 @@ with pkgs; 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) then 11 + else if (stdenv.targetPlatform.isx86_64 || stdenv.targetPlatform.isRiscV) then 11 else if stdenv.targetPlatform.isAarch64 then 9 else 10; numS = toString num;