Commit 661dfd83 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

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.
parent e22d0b49
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.