Skip to content

Commit

Permalink
Merge pull request #194999 from risicle/ris-go-1-18-apple-sdk-11-r22.05
Browse files Browse the repository at this point in the history
[22.05] go_1_18: Use apple_sdk_11_0.callPackage
  • Loading branch information
risicle authored Oct 9, 2022
2 parents b3783bc + 4af479b commit 6a5a3bb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13200,8 +13200,9 @@ with pkgs;
buildPackages = buildPackages // { stdenv = buildPackages.gcc8Stdenv; };
});

go_1_18 = callPackage ../development/compilers/go/1.18.nix {
inherit (darwin.apple_sdk.frameworks) Security Foundation;
# go 1.18 requires a newer Apple SDK to be build. See commit message for more details.
go_1_18 = darwin.apple_sdk_11_0.callPackage ../development/compilers/go/1.18.nix {
inherit (darwin.apple_sdk_11_0.frameworks) Security Foundation;
};

go = go_1_17;
Expand Down Expand Up @@ -21484,7 +21485,9 @@ with pkgs;
buildGo117Package = callPackage ../development/go-packages/generic {
go = buildPackages.go_1_17;
};
buildGo118Package = callPackage ../development/go-packages/generic {

# go 1.18 requires a newer Apple SDK to be build. See commit message for more details.
buildGo118Package = darwin.apple_sdk_11_0.callPackage ../development/go-packages/generic {
go = buildPackages.go_1_18;
};

Expand All @@ -21493,7 +21496,9 @@ with pkgs;
buildGo117Module = callPackage ../development/go-modules/generic {
go = buildPackages.go_1_17;
};
buildGo118Module = callPackage ../development/go-modules/generic {

# go 1.18 requires a newer Apple SDK to be build. See commit message for more details.
buildGo118Module = darwin.apple_sdk_11_0.callPackage ../development/go-modules/generic {
go = buildPackages.go_1_18;
};

Expand Down

0 comments on commit 6a5a3bb

Please sign in to comment.