6 extraPackages ? (ps: [ ]),
10 pythonEnv = python3.withPackages
11 (ps: [ ps.xonsh ] ++ extraPackages ps);
12 xonsh = python3.pkgs.xonsh;
15 "xonsh-${xonsh.version}"
17 inherit (xonsh) pname version meta passthru;
21 for bin in ${lib.getBin xonsh}/bin/*; do
22 ln -s ${pythonEnv}/bin/$(basename "$bin") $out/bin/