coreutils: fix aarch64 build by upstream patch

https://hydra.nixos.org/build/128781441
We can't use fetchpatch here, unfortunately.
This commit is contained in:
Vladimír Čunát
2020-10-25 08:07:15 +01:00
parent 81881f2a1d
commit 803ca85c20
2 changed files with 103 additions and 1 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ stdenv.mkDerivation (rec {
sha256 = "sha256-RFjY3nhJ30TMqxXhaxVIsoUiTbul8I+sBwwcDgvMTPo=";
};
patches = optional stdenv.hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch;
patches = optional stdenv.hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch
# included on coreutils master; TODO: apply unconditionally, I guess
++ optional stdenv.hostPlatform.isAarch64 ./sys-getdents-undeclared.patch;
postPatch = ''
# The test tends to fail on btrfs,f2fs and maybe other unusual filesystems.