buildGo117{Module,Package}: disable, go_1_17: disable on x86_64-darwin

This commit is contained in:
zowoq 2021-08-05 15:29:28 +10:00
parent 273ff5cf17
commit 9675a865c9
2 changed files with 20 additions and 6 deletions

View file

@ -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" ];
};
}

View file

@ -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;