summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver/default.nix
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2024-10-27 17:44:56 +0000
committerEmily <vcs@emily.moe>2024-10-27 17:52:07 +0000
commit55dfed83c07faaa7aa9d279af787ec41b8baed9a (patch)
tree46e1738aa66c5ed55888447db6194a3af455a6ef /pkgs/development/python-modules/rangehttpserver/default.nix
parent5d11433af5f6a7a8096321473192d9fc29289b76 (diff)
{bintools-wrapper,cc-wrapper}: export Darwin SDK variables
514b00cf08702b31cdf873a798f1ff100d4f2cf7 exposed another bug in the existing wrapper logic: Darwin SDK variables are only exported by the SDK package hook, so if those variables aren’t already exported inside the wrappers, the modified versions are not passed down to the compiler tools, breaking the fallback SDK logic. This was previously partially masked by passing down a normally‐redundant `-isysroot` to the compiler, but now we fix it at the source. This broke e.g. running `clang(1)` without any environment, something the GHC binary package `installCheckPhase` does indirectly to verify that there’s nothing missing from the wrapped GHC `$PATH`. It may also have caused issues building for the build platform inside a Darwin‐to‐non‐Darwin cross‐compilation build.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver/default.nix')
0 files changed, 0 insertions, 0 deletions