nixpkgs/pkgs/tools/misc/coreutils
Patrick Meyer 373d2348be coreutils: patch for uname to show the correct arch on arm macos
Until a recent patch in coreutils, gnus uname -p returned a different
arch on apple silicon macs, compared to the uname shipped with macos.
This causes config.guess to produce incorrect build system triplets
for various projects on these systems when in a nix-shell.[23][42]

As coreutils only releases every few months/years and no release is
planned at the moment, I'm introducing the patch here. We can drop it
once the next coreutils version is released.

I made a tiny adjustment to the patch from [23]. I removed the usage
of MAYBE_UNUSED, which currently only compiles against HEAD.

[23] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52330
[42] https://github.com/NixOS/nixpkgs/issues/147914
2021-12-22 04:36:40 -05:00
..
default.nix coreutils: patch for uname to show the correct arch on arm macos 2021-12-22 04:36:40 -05:00
disable-seek-hole.patch coreutils: Disable SEEK_HOLE due to corruption 2021-10-27 20:54:25 +02:00
fix-arm64-macos.patch coreutils: patch for uname to show the correct arch on arm macos 2021-12-22 04:36:40 -05:00
fix-chmod-exit-code.patch coreutils: 8.32 -> 9.0 2021-09-30 21:23:12 +02:00