- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.hooks: Use uv for cross builds & installs
When cross compiling create a virtual environment for the build. Because Nixpkgs builds cross compiled Python in a separate prefix from the native Python, where the native Python doesn't contain the sysconfigdata files for the cross Python. This trips up UV's interpreter discovery scripts which is invoked in isolated mode (-I). Make the build-host aware of the build-target by aggregating them into a venv.
1 parent
e66b856
commit 08e86b3
Showing
1 changed file
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters