mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:27:37 +00:00
gcc12: switch to Homebrew patch on aarch64-darwin
We can presume that this patch is better tested and better maintained.
This commit is contained in:
parent
60abfb419a
commit
816cb20bd3
@ -63,11 +63,9 @@ let majorVersion = "12";
|
||||
../gcc-12-gfortran-driving.patch
|
||||
../ppc-musl.patch
|
||||
] ++ optional (stdenv.isDarwin && stdenv.isAarch64) (fetchpatch {
|
||||
# TODO: switch back to Homebrew patches:
|
||||
# was "https://github.com/Homebrew/formula-patches/raw/76677f2b/gcc/gcc-12.1.0-arm.diff"
|
||||
name = "gcc-12-darwin-aarch64-support.patch";
|
||||
url = "https://github.com/tjni/gcc-12-branch/compare/releases/gcc-12.2...gcc-12-2-darwin.diff";
|
||||
sha256 = "sha256-hjM9q6tsdzoGOQWJ7v3BaeVxdWQGTaEnep2ZSwX5+74=";
|
||||
url = "https://github.com/Homebrew/formula-patches/raw/1d184289/gcc/gcc-12.2.0-arm.diff";
|
||||
sha256 = "sha256-omclLslGi/2yCV4pNBMaIpPDMW3tcz/RXdupbNbeOHA=";
|
||||
})
|
||||
++ optional langD ../libphobos.patch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user