3
0
Fork 0
forked from mirrors/nixpkgs

pkgsMusl.coreutils: fix build on aarch64

I suspect this issue is caused by the very old version of diffutils we
have in the aarch64+musl bootstrap tools, so hopefully we can
re-enable the tests once we have newer bootstrap tools.
This commit is contained in:
Alyssa Ross 2022-04-22 11:01:47 +00:00
parent e22d0b49a9
commit 661dfd8347

View file

@ -113,8 +113,10 @@ stdenv.mkDerivation (rec {
# Darwin (http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/19351),
# and {Open,Free}BSD.
# With non-standard storeDir: https://github.com/NixOS/nix/issues/512
# On aarch64+musl, test-init.sh fails due to a segfault in diff.
doCheck = stdenv.hostPlatform == stdenv.buildPlatform
&& (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.isMusl)
&& !(stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isAarch64)
&& !stdenv.isAarch32;
# Prevents attempts of running 'help2man' on cross-built binaries.