diff options
| author | toonn <toonn@toonn.io> | 2022-07-08 13:07:11 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-07-15 23:51:05 +0200 |
| commit | 00336e25bd4dc552208bda65da776b72b4b10fd0 (patch) | |
| tree | 77f491b1cd154cb4c8c4be29a11cc8eed914ab4c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 491ce92971aa91712c96bd2ae26ac809a7ca65fa (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
