go_1_14, go_1_15, go_2-dev: do not override stdenv if it is not gcc (#112248)
This doesn't do anything for existing packages, but it helps #105026, since `aarch64-darwin` doesn't have a working gcc today.
This commit is contained in:
parent
d9be3c767c
commit
368ed8fb3d
1 changed files with 3 additions and 3 deletions
|
@ -10145,21 +10145,21 @@ in
|
|||
|
||||
go_1_14 = callPackage ../development/compilers/go/1.14.nix ({
|
||||
inherit (darwin.apple_sdk.frameworks) Security Foundation;
|
||||
} // lib.optionalAttrs stdenv.isAarch64 {
|
||||
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
|
||||
stdenv = gcc8Stdenv;
|
||||
buildPackages = buildPackages // { stdenv = gcc8Stdenv; };
|
||||
});
|
||||
|
||||
go_1_15 = callPackage ../development/compilers/go/1.15.nix ({
|
||||
inherit (darwin.apple_sdk.frameworks) Security Foundation;
|
||||
} // lib.optionalAttrs stdenv.isAarch64 {
|
||||
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
|
||||
stdenv = gcc8Stdenv;
|
||||
buildPackages = buildPackages // { stdenv = gcc8Stdenv; };
|
||||
});
|
||||
|
||||
go_2-dev = callPackage ../development/compilers/go/2-dev.nix ({
|
||||
inherit (darwin.apple_sdk.frameworks) Security Foundation;
|
||||
} // lib.optionalAttrs stdenv.isAarch64 {
|
||||
} // lib.optionalAttrs (stdenv.cc.isGNU && stdenv.isAarch64) {
|
||||
stdenv = gcc8Stdenv;
|
||||
buildPackages = buildPackages // { stdenv = gcc8Stdenv; };
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue