nixpkgs/pkgs
Andrew Childs 2a9b3b4943 cc-wrapper, bintools-wrapper: support MACOSX_DEPLOYMENT_TARGET with roles
In a typical build environment the toolchain will use the value of the
MACOSX_DEPLOYMENT_TARGET environment variable to determine the version
of macOS to support. When cross compiling there are two distinct
toolchains, but they will look at this single environment variable. To
avoid contamination, we always set the equivalent command line flag
which effectively disables the toolchain's internal handling.

Prior to this change, the MACOSX_DEPLOYMENT_TARGET variable was
ignored, and the toolchains always used the Nix platform
definition (`darwinMinVersion`) unless overridden with command line
arguments.

This change restores support for MACOSX_DEPLOYMENT_TARGET, and adds
nix-specific MACOSX_DEPLOYMENT_TARGET_FOR_BUILD and
MACOSX_DEPLOYMENT_TARGET_FOR_TARGET for cross compilation.
2021-04-11 09:47:10 +09:00
..
applications Merge staging-next into staging 2021-03-25 06:06:01 +00:00
build-support cc-wrapper, bintools-wrapper: support MACOSX_DEPLOYMENT_TARGET with roles 2021-04-11 09:47:10 +09:00
common-updater
data Merge staging-next into staging 2021-03-24 06:05:57 +00:00
desktops Merge master into staging-next 2021-03-25 00:17:22 +00:00
development luarocks: use targetPlatform.darwinMinVersion as default 2021-04-11 09:47:10 +09:00
games multimc: unstable -> 0.6.12 2021-03-23 17:24:27 +01:00
misc cen64: unstable-2020-02-20 -> unstable-2021-03-12 2021-03-24 07:10:24 -05:00
os-specific Merge master into staging-next 2021-03-25 00:17:22 +00:00
pkgs-lib
servers Merge staging-next into staging 2021-03-25 00:17:25 +00:00
shells mksh: fix license 2021-03-23 15:24:43 -03:00
stdenv darwin: move deployment target and sdk version to platform config 2021-03-26 15:10:22 +09:00
test
tools Merge pull request #117322 from r-ryantm/auto-update/govc 2021-03-25 19:53:42 -04:00
top-level Merge staging-next into staging 2021-03-25 00:17:25 +00:00