mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
buildGo117{Module,Package}: disable, go_1_17: disable on x86_64-darwin
This commit is contained in:
parent
273ff5cf17
commit
9675a865c9
2 changed files with 20 additions and 6 deletions
|
@ -274,5 +274,7 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.bsd3;
|
||||
maintainers = teams.golang.members;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
# requires >=10.13 stdenv on x86_64-darwin
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19574,9 +19574,15 @@ with pkgs;
|
|||
buildGo116Package = callPackage ../development/go-packages/generic {
|
||||
go = buildPackages.go_1_16;
|
||||
};
|
||||
buildGo117Package = callPackage ../development/go-packages/generic {
|
||||
go = buildPackages.go_1_17;
|
||||
};
|
||||
# go_1_17 has go module changes which may not be portable
|
||||
# across different go versions and/or platforms,
|
||||
# it also requires >=10.13 stdenv on darwin which
|
||||
# is not currently available for x86_64-darwin
|
||||
#
|
||||
# do not uncomment this without approval from the go CODEOWNERS
|
||||
#buildGo117Package = callPackage ../development/go-packages/generic {
|
||||
# go = buildPackages.go_1_17;
|
||||
#};
|
||||
|
||||
buildGoPackage = buildGo116Package;
|
||||
|
||||
|
@ -19586,9 +19592,15 @@ with pkgs;
|
|||
buildGo116Module = callPackage ../development/go-modules/generic {
|
||||
go = buildPackages.go_1_16;
|
||||
};
|
||||
buildGo117Module = callPackage ../development/go-modules/generic {
|
||||
go = buildPackages.go_1_17;
|
||||
};
|
||||
# go_1_17 has go module changes which may not be portable
|
||||
# across different go versions and/or platforms,
|
||||
# it also requires >=10.13 stdenv on darwin which
|
||||
# is not currently available for x86_64-darwin
|
||||
#
|
||||
# do not uncomment this without approval from the go CODEOWNERS
|
||||
#buildGo117Module = callPackage ../development/go-modules/generic {
|
||||
# go = buildPackages.go_1_17;
|
||||
#};
|
||||
|
||||
buildGoModule = buildGo116Module;
|
||||
|
||||
|
|
Loading…
Reference in a new issue