nixpkgs/pkgs
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
..
applications Merge pull request #150669 from andrevmatos/kde/frameworks 2021-12-21 03:02:42 +01:00
build-support
common-updater
data Merge pull request #150669 from andrevmatos/kde/frameworks 2021-12-21 03:02:42 +01:00
desktops Merge staging-next into staging 2021-12-19 06:01:51 +00:00
development Merge pull request #150733 from mweinelt/openssl 2021-12-21 03:33:37 +01:00
games
misc Merge master into staging-next 2021-12-19 06:01:16 +00:00
os-specific Merge pull request #149530 from alyssais/util-linux-static 2021-12-19 12:26:26 -05:00
pkgs-lib
servers
shells
stdenv
test
tools coreutils: patch for uname to show the correct arch on arm macos 2021-12-22 04:36:40 -05:00
top-level Merge staging-next into staging 2021-12-19 12:01:52 +00:00