diff options
| author | Alyssa Ross <hi@alyssa.is> | 2023-12-17 01:22:04 +0100 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2023-12-19 11:34:02 +0100 |
| commit | ca8a6d8c19ed6534c6e4b088e2348c261cc2bc33 (patch) | |
| tree | 29c5b58d068ec76a20fba0df07e0def2cbc8b2c6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1f30be411f2f3e3aa7cc614eea659dcdeaad1d7e (diff) | |
wrapRustcWith: allow --sysroot to be overridden
It turns out that unlike a normal Unix program, if the --sysroot
option is given more than once, rustc will error rather than using the
last value given. Therefore, we need to ensure we only add our
default --sysroot argument if one hasn't been given explicitly on the
wrapper's command line.
This fixes cross compilation of rustc.
Closes: https://github.com/NixOS/nixpkgs/issues/271736
Fixes: 8b51cdd3bea1 ("rustc: add a compiler wrapper")
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
