nixpkgs/pkgs/stdenv
Randy Eckenrode 71c6ee9295
darwin.stdenv: add sdkRoot to extraNativeBuildInputs
Setting the SDK root by default allows `overrideSDK` to correctly set
the SDK version when using a different SDK. It also allows the correct
SDK version to be set when using an older deployment target. Not setting
the correct SDK version can result in unexpected behavior at runtime.

Examples:

* Automatic dark mode switching requires linking against an SDK version
  of 10.14 or newer. With the current behavior, the only way to do this
  is by using a 10.14+ deployment target even when the application
  supports older platforms when build with a newer SDK.
* MetalD3D checks that the system version is at least 14.0. The API it
  uses returns a compatibility version when the the SDK is older than
  11.0, which causes it to display an error and terminate the
  application even when even when its requirements are all met.
2024-03-29 10:07:50 -04:00
..
cross pkgs: fix typos 2023-05-19 22:31:04 -04:00
custom
cygwin
darwin darwin.stdenv: add sdkRoot to extraNativeBuildInputs 2024-03-29 10:07:50 -04:00
freebsd
generic make-derivation.nix: Fix checkMetaRecursively 2024-03-17 19:28:47 +01:00
linux pkgs/stdenv/linux: init powerpc64-unknown-linux-gnuabielfv2 bootstrap-files 2024-03-10 12:36:34 +01:00
native stdenv: fix stagesNative 2023-07-02 19:07:23 +10:00
nix
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix overrideSDK: support all deps attributes 2024-03-29 10:03:08 -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