nixpkgs/pkgs/stdenv
Randy Eckenrode c2a623b52a
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.
2023-10-26 13:26:39 -04:00
..
cross pkgs: fix typos 2023-05-19 22:31:04 -04:00
custom
cygwin
darwin stdenv.darwin: fix infinite recursion after curl update 2023-10-13 18:51:05 -04:00
freebsd config.contentAddressedByDefault: init option 2022-04-27 23:21:32 +03:00
generic treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
linux stdenv: fix typo 2023-10-21 00:26:57 +03:00
native stdenv: fix stagesNative 2023-07-02 19:07:23 +10:00
nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix stdenvAdapters: add overrideSDK 2023-10-26 13:26:39 -04:00
booter.nix pkgs/stdenv: fix typo in booter.nix docs 2023-09-04 22:24:12 +02:00
default.nix darwin.stdenv: refactor stdenv definition 2023-07-02 17:56:24 -04:00