diff options
| author | DavHau <hsngrmpf+github@gmail.com> | 2025-12-04 19:32:43 +0700 |
|---|---|---|
| committer | DavHau <hsngrmpf+github@gmail.com> | 2025-12-09 12:32:28 +0700 |
| commit | e65630386777c3f21977611f7b802aeae30b6f2c (patch) | |
| tree | 95cff9c01959f7505513ee9c10f468ebf4cb325a /pkgs/development/python-modules/rangehttpserver | |
| parent | d08257cad70d6f4ed4023ec5f454ff9cb3a256f9 (diff) | |
python3Packages.setuptools-rust: fix cross build for all `setuptools-rust` based packages
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.
The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.
This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.
This change fixes cross on all packages using `setuptools-rust` as a build-system.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
