summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2024-08-03 23:10:26 +1200
committeradisbladis <adisbladis@gmail.com>2024-08-03 23:26:42 +1200
commit00b9996c9ad5726c49dfdb0974a75fe7a2f03b0a (patch)
treefefcf67811f5d6b6f6cd38d2a5a445e33877e688 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentef6a56e11f41625d0259a86db2da07f66119f192 (diff)
stdenv: Take nested env.NIX_CFLAGS_LINK into account when making static binaries
https://github.com/NixOS/nixpkgs/pull/315998/files#diff-2828f66a476875b1160e3c241960db085c2a3933211cc187bcd1fb456fb95e7fL213-R216 moved NIX_CFLAGS_LINK from a top-level `mkDerivation` argument to the nested `env` attribute. This doesn't play nicely with how `stdenv/adapters.nix` adds it's NIX_CFLAGS_LINK in the top-level. This changes the stdenv adapter to check for the presence of `env.NIX_CFLAGS_LINK`, and override that one if present, and only otherwise override on the top-level drv attrset.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions