2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-02 02:53:55 +00:00
nixpkgs/pkgs
toonn 00336e25bd
go_1_18: Use apple_sdk_11_0.callPackage
Go 1.18 requires a newer SDK than the one we build from sources. As a
workaround we're making use of the SDK we're using for aarch64-darwin.
This means Go 1.18 will not work on any Darwin systems that don't have
forwards-compatible SDK versions with the particular package in
question. We might need to mark Go packages broken based on the macOS
version rather than just the platform and architecture.

Until we find a better solution, Go packages will need to make sure to
get all their (Darwin) system dependencies from the `apple_sdk_11_0`,
this includes dependencies of build tools like `xcbuild`.

For convenience `darwin.apple_sdk_11_0` has a `callPackage` attribute
which provides the correct `stdenv` and `xcbuild` attributes as
arguments. This function can be expanded to substitute other necessary
arguments when they come up.
2022-07-15 23:51:05 +02:00
..
applications photon: fix hash 2022-07-15 23:51:03 +02:00
build-support dockerTools: use list of strings for configureFlags 2022-07-15 10:23:07 +10:00
common-updater
data
desktops
development protolock: fix vendor hash 2022-07-15 23:51:04 +02:00
games Merge pull request from oxzi/openrct2-0.4.1 2022-07-15 16:11:10 +00:00
misc
os-specific pam_mount: 2.17 -> 2.19 2022-07-15 23:42:29 +02:00
pkgs-lib
servers telegraf: fix vendor hash 2022-07-15 23:51:04 +02:00
shells zsh-history: fix vendor hash, formatting 2022-07-15 23:51:05 +02:00
stdenv
test
tools opentelemetry-collector: fix vendor hash 2022-07-15 23:51:05 +02:00
top-level go_1_18: Use apple_sdk_11_0.callPackage 2022-07-15 23:51:05 +02:00