git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110829 from r-burns/riscv-coreutils

coreutils: fix build on riscv

commit2d559b6128bccb57d6baac3fa83d6b428413bfe5 authorPavol Rusnak <pavol@rusnak.io> dateTue 26 Jan 2021, 12:07 (6 years ago) parent117addbbcece86
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;