Skip to content

python: fix venv creation; resolve sys.prefix to realpath#448141

Draft
qbisi wants to merge 3 commits into
NixOS:masterfrom
qbisi:python-env
Draft

python: fix venv creation; resolve sys.prefix to realpath#448141
qbisi wants to merge 3 commits into
NixOS:masterfrom
qbisi:python-env

python: fix venv creation

bef0564
Select commit
Loading
Failed to load commit list.
OfBorg / makeBinaryWrapper, makeBinaryWrapper.passthru.tests, makeWrapper, makeWrapper.passthru.tests, python, python.passthru.tests on x86_64-darwin succeeded Nov 3, 2025 in 0s

Success

Attempted: makeBinaryWrapper, makeBinaryWrapper.passthru.tests, makeWrapper, makeWrapper.passthru.tests

The following builds were skipped because they don't evaluate on x86_64-darwin: python, python.passthru.tests

Details

Partial log

Running phase: fixupPhase
checking for references to /private/tmp/nix-build-which-2.23.drv-0/ in /nix/store/fs5b1xa91qabrn7rbn58rbwmxfxbrag8-which-2.23...
gzipping man pages under /nix/store/fs5b1xa91qabrn7rbn58rbwmxfxbrag8-which-2.23/share/man/
patching script interpreter paths in /nix/store/fs5b1xa91qabrn7rbn58rbwmxfxbrag8-which-2.23
stripping (with command strip and flags -S) in  /nix/store/fs5b1xa91qabrn7rbn58rbwmxfxbrag8-which-2.23/bin
building '/nix/store/9837s6924546rg7a7z7vm10iqga32b0d-make-wrapper-test.drv'...
/nix/store/zwfiisv1rx2azpaaavriisqjh6hb1v5a-make-binary-wrapper-hook
/nix/store/rbrhvnisy3c2jbbkrsfww7hxv0qzy5j1-make-binary-wrapper-tests
/nix/store/36vgmplii0x66j04skvcrcj5zix958pq-make-shell-wrapper-hook
/nix/store/1zkpg41knbjh3cx7wmq74rzpvavx3ghh-make-wrapper-test