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

mullvad-ns
zowoq 3 years ago
parent 273ff5cf17
commit 9675a865c9
  1. 2
      pkgs/development/compilers/go/1.17.nix
  2. 24
      pkgs/top-level/all-packages.nix

@ -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…
Cancel
Save