git.iko.soy/typeable/nixpkgs
on master help sign in
coreutils: fix build on riscv

RISC-V has the same issue as ARM64 with coreutils. Fixes pkgsCross.riscv64.coreutils

commitbcece861e80203308b0eaee1a7711589348d1a6f authorRyan Burns <rtburns@protonmail.com> dateMon 25 Jan 2021, 18:12 (6 years ago) parent8baac2a
1 file changed+1−1
pkgs/tools/misc/coreutils/default.nix+1−1
pkgs/tools/misc/coreutils/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation (rec {
3131
3232 patches = optional stdenv.hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch
3333 # included on coreutils master; TODO: apply unconditionally, I guess
34− ++ optional stdenv.hostPlatform.isAarch64 ./sys-getdents-undeclared.patch
34+ ++ optional (with stdenv.hostPlatform; isAarch64 || isRiscV) ./sys-getdents-undeclared.patch
3535 # fix gnulib tests on 32-bit ARM. Included on coreutils master.
3636 # https://lists.gnu.org/r/bug-gnulib/2020-08/msg00225.html
3737 ++ optional stdenv.hostPlatform.isAarch32 ./fix-gnulib-tests-arm.patch;