Add makeWrapperArgs = [ "--unset" "PYTHONPATH" ] to the derivation. The Nix-built binary works perfectly in a clean environment but crashes when the host environment's PYTHONPATH (from mautrix, etc.) injects Python 3.12 site-packages into the Python 3.13 wrapper, causing C extension ABI mismatches (PIL._imaging).
Add `makeWrapperArgs = [ "--unset" "PYTHONPATH" ]` to the derivation. The Nix-built binary works perfectly in a clean environment but crashes when the host environment's PYTHONPATH (from mautrix, etc.) injects Python 3.12 site-packages into the Python 3.13 wrapper, causing C extension ABI mismatches (`PIL._imaging`).
Prevents Python 3.12 site-packages (from host env like mautrix bridge) from contaminating the Python 3.13 wrapper, causing C extension ABI mismatches (e.g. PIL._imaging).
Prevents Python 3.12 site-packages (from host env like mautrix bridge) from contaminating the Python 3.13 wrapper, causing C extension ABI mismatches (e.g. PIL._imaging).
luis
merged commit 55344ed9ef into main2026-05-28 09:34:03 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add
makeWrapperArgs = [ "--unset" "PYTHONPATH" ]to the derivation. The Nix-built binary works perfectly in a clean environment but crashes when the host environment's PYTHONPATH (from mautrix, etc.) injects Python 3.12 site-packages into the Python 3.13 wrapper, causing C extension ABI mismatches (PIL._imaging).