summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2023-10-26 01:04:35 -0400
committerRandy Eckenrode <randy@largeandhighquality.com>2023-10-26 13:26:39 -0400
commitc2a623b52a1f10dfcda9642217eac39502ecbf26 (patch)
tree6e248dfce877892ed2f846d2a072df4fae269cc8 /pkgs/development/misc
parent08be9a9577c3dd88f0e782daedb152403c38d186 (diff)
stdenvAdapters: add overrideSDK
This is a replacement for using `darwin.apple_sdk_<ver>.callPackage`.
Instead of injecting the required packages, it provides a stdenv adapter
that modifies the derivation’s build inputs to use the requested SDK
versions. This modification extends to any build inputs propagated to it
as well. The `callPackage` approach is not deprecated yet, but it is
expected that it will be eventually.

Note that this is an MVP. It should work with most packages, but it only
handles build inputs and also only handles frameworks. Once more SDKs
are added (after #229210 is merged) and the SDK structure is normalized,
it can be extended to handle any package in the SDK namespace.

Cross-compilation may or may not work. Any cross-related issues can be
addressed after #256590 is merged.
Diffstat (limited to 'pkgs/development/misc')
0 files changed, 0 insertions, 0 deletions