diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-08-05 20:21:02 -0700 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2023-09-26 06:30:44 +0000 |
| commit | 67a4f828b46cc6d58fe11c975304331ea1e63909 (patch) | |
| tree | 41ffbe775b14b41ec92228e999e0e08ba3bae6f1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c1df604e9fbae74f7aa7530ec13e14a85758be61 (diff) | |
rust: hooks: fix cross compilation
Currently there is a state of severe confusion in
pkgs/build-support/rust/hooks/ regarding host vs target; right now
there is only "host" defined, but whether it means "host" or
"target" seems to fluctuate.
This commit corrects that, ensuring that all variables come in all
three flavors (build, host, target) and are used consistently with
the nixpkgs convention.
This also fixes the cross-compilation of packages which use
`maturinBuildHook` -- hooks go in `nativeBuildInputs` and are
phase-shifted backwards by one platform, so they need to be careful
about distinguishing between build and host.
Closes #247441
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
