mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 09:27:40 +00:00
stdenv: elaborate on nature of mass rebuilds
This commit is contained in:
parent
1810b522d7
commit
719c731df3
@ -115,8 +115,11 @@ let
|
||||
'' + lib.optionalString (hostPlatform.isDarwin && hostPlatform.isMacOS) ''
|
||||
export MACOSX_DEPLOYMENT_TARGET=${hostPlatform.darwinMinVersion}
|
||||
''
|
||||
# TODO this should be uncommented, but it causes stupid mass rebuilds. I
|
||||
# think the best solution would just be to fixup linux RPATHs so we don't
|
||||
# TODO this should be uncommented, but it causes stupid mass rebuilds due to
|
||||
# `pkgsCross.*.buildPackages` not being the same, resulting in cross-compiling
|
||||
# for a target rebuilding all of `nativeBuildInputs` for that target.
|
||||
#
|
||||
# I think the best solution would just be to fixup linux RPATHs so we don't
|
||||
# need to set `-rpath` anywhere.
|
||||
# + lib.optionalString targetPlatform.isDarwin ''
|
||||
# export NIX_DONT_SET_RPATH_FOR_TARGET=1
|
||||
|
Loading…
Reference in New Issue
Block a user