Merge pull request #318636 from NixOS/backport-317636-to-release-24.05

[Backport release-24.05] xonsh: expose unwrapped
This commit is contained in:
Jade Lovelace 2024-06-09 16:35:48 -07:00 committed by GitHub
commit f589903f0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,8 @@ let
in
runCommand "xonsh-${xonsh-unwrapped.version}"
{
inherit (xonsh-unwrapped) pname version meta passthru;
inherit (xonsh-unwrapped) pname version meta;
passthru = xonsh-unwrapped.passthru // { unwrapped = xonsh-unwrapped; };
} ''
mkdir -p $out/bin
for bin in ${lib.getBin xonsh-unwrapped}/bin/*; do

View File

@ -1375,7 +1375,7 @@ mapAliases ({
xineLib = xine-lib; # Added 2021-04-27
xineUI = xine-ui; # Added 2021-04-27
xmlada = gnatPackages.xmlada; # Added 2024-02-25
xonsh-unwrapped = throw "'xonsh-unwrapped' was incorporated into xonsh code; call xonsh directly instead."; # Added 2024-01-20
xonsh-unwrapped = xonsh.passthru.unwrapped;
xtrt = throw "xtrt has been removed due to being abandoned"; # Added 2023-05-25
xulrunner = firefox-unwrapped; # Added 2023-11-03
xvfb_run = xvfb-run; # Added 2021-05-07