about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-19 07:59:40 -0500
committerShea Levy <shea@shealevy.com>2018-02-19 07:59:40 -0500
commitc10288c171fcec37821c28b96437e933e41033d8 (patch)
tree36a16846835c66b893c485aa529e60d37c76dad4
parentca6710b2e617ad0d332c3ff4a319f37dff19e40b (diff)
downloadnixlib-c10288c171fcec37821c28b96437e933e41033d8.tar
nixlib-c10288c171fcec37821c28b96437e933e41033d8.tar.gz
nixlib-c10288c171fcec37821c28b96437e933e41033d8.tar.bz2
nixlib-c10288c171fcec37821c28b96437e933e41033d8.tar.lz
nixlib-c10288c171fcec37821c28b96437e933e41033d8.tar.xz
nixlib-c10288c171fcec37821c28b96437e933e41033d8.tar.zst
nixlib-c10288c171fcec37821c28b96437e933e41033d8.zip
riscv: Use binutils 2.30 for linker fixes.
-rw-r--r--pkgs/top-level/all-packages.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4ab60ab3ea17..efd3683f36b8 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7322,6 +7322,8 @@ with pkgs;
   binutils =
     if targetPlatform.isDarwin
     then darwin.binutils
+    else if targetPlatform.isRiscV
+    then binutils_2_30
     else binutils-raw;
 
   binutils-unwrapped = callPackage ../development/tools/misc/binutils {