summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-03-02 13:03:26 +0100
committerAlyssa Ross <hi@alyssa.is>2024-03-02 13:09:07 +0100
commit6f8fa05acf5e6f6b4926631de2a9a8b8b544f30d (patch)
tree9231f9e4077aded864fd856670ab5edc6d45d4b2 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent18bc3c64e66d0fd2bb4b4fbfbc8e9b80e4c58734 (diff)
wrapRustc: wrap rustdoc
We need to set -crt-static on musl for rustdoc as well, so let's unify the wrappers. Ideally, rather than wrapping rustdoc, we'd have rustdoc use the wrapped rustc, but that's currently only possible with an unstable option (--test-builder). The options set by the wrapper, -C target-feature and --sysroot, are supported by both rustdoc and rustc, but other flags maybe not be supported by both, so I've introduced different environment variables (the existing NIX_RUSTFLAGS and a new NIX_RUSTDOCFLAGS) to allow those to be set independently. This fixes cargo-auditable in pkgsMusl., which broke because its doctests stopped working when -crt-static was moved to the wrapper. Fixes: 79156bf13ae7 ("rustc: move crt-static default override to wrapper (#291829)")
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions