Repository navigation
python: add use_host_python option; use env in shebangs - #401
katexochen wants to merge 2 commits into
Conversation
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
|
The "env shebang" commit is fine of course. But the "use host python" is a rather big hack IMHO:
I assume this is about running tine in NixOS. Is it an option for you to use nix-ld ? ( An alternative might be to pin a musl build/loader in addition to Python, and invoke it as This is also undocumented, and untested. It could at least have a single test that enables this option, in a new isolation dir, and builds a small target. In umockdev I run CI in a nix container which is also reasonably cheap. |
would be nice to have a hermetic way, but as long as we are downloading dynamically linked stuff that must run on the host we need a way to work around it. Signed-off-by: Paul Meyer <katexochen0@gmail.com>
ea43e85 to
5e4f211
Compare
Addressed.
A musl Python doesn't help here. The drivers load glibc-built libraries into the interpreter with ctypes, such as the |
|
OK, got it. Does nix-ld help? |
I don't want to run that. It can't be scoped to a project but is system-wide configuration with massive impact. |
No description provided.