Closed charmoniumQ closed 3 months ago
use xonsh.wrapper
instead of xonsh
This is documented in the option search: https://search.nixos.org/options?channel=unstable&show=programs.xonsh.package&from=0&size=50&sort=relevance&type=packages&query=xonsh
This behavior was changed in https://github.com/NixOS/nixpkgs/pull/314728, which includes a refactor, and the top-level xonsh package is not the wrapper now. I'm restoring the original behavior in https://github.com/NixOS/nixpkgs/pull/325813.
Describe the bug
The wrapper introduced in #240246 is supposed to accept code like:
xonsh.override { extraPackages = ps: [ ps.psutil ] }
, and thenpsutil
should be importable in the resulting Xonsh package. However, when building this package, I am met with:Is there a different way of getting to the wrapped Xonsh?
Steps To Reproduce
To reproduce:
Expected behavior
Xonsh should build.
Additional context
Possibly relevant issues:
Notify maintainers
@samlukeyes123
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.