You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent nixos-unstable update, xonsh is no longer able to launch.
Traceback (most recent call last):
File "/nix/store/ghr6zvrvjcww884wrcj0pimmpjs2kx61-xonsh-0.15.1/bin/xonsh", line 5, in <module>
from xonsh.main import main
ModuleNotFoundError: No module named 'xonsh'
Steps To Reproduce
Launch xonsh
Expected behavior
Xonsh should start without issue
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I've found a change of python env that reached nixos-unstable recently (#297628). Perhaps it is the change that breaks xonsh.
Not sure this ever worked—xonsh in this expression is coming from Nixpkgs directly, not p. It still does not work after #302385.
That's a different issue. You should probably use xonsh.override { extraPackages = ps: with p; [ ... ]; } instead. However, if you really need the full python env, unfortunately there's no way to use it outside the xonsh derivation for now. Maybe we should add it to passthru.
Activity
FlyingWombat commentedon Apr 4, 2024
May not be the same issue, but this doesn't work either:
3541 commentedon Apr 13, 2024
Not sure this ever worked—
xonshin this expression is coming from Nixpkgs directly, notp. It still does not work after #302385.SamLukeYes commentedon Apr 13, 2024
That's a different issue. You should probably use
xonsh.override { extraPackages = ps: with p; [ ... ]; }instead. However, if you really need the full python env, unfortunately there's no way to use it outside the xonsh derivation for now. Maybe we should add it topassthru.