go_1_18: don't force gcc8 on aarch64-linux

This commit is contained in:
ajs124 2022-04-06 13:22:24 +01:00 committed by zowoq
parent 93a139dac3
commit caa91541bc

View file

@ -12712,12 +12712,9 @@ with pkgs;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});
go_1_18 = callPackage ../development/compilers/go/1.18.nix ({
go_1_18 = callPackage ../development/compilers/go/1.18.nix {
inherit (darwin.apple_sdk.frameworks) Security Foundation;
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
stdenv = gcc8Stdenv;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});
};
go_2-dev = callPackage ../development/compilers/go/2-dev.nix ({
inherit (darwin.apple_sdk.frameworks) Security Foundation;