bun: add bunx cli

This is just a symlink to bun, which detects it's being run as bunx by
checking argv.
This commit is contained in:
Theodore Ni 2023-08-03 00:55:36 -07:00
parent 91991a339a
commit c0754f9035
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -25,7 +25,10 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm 755 ./bun $out/bin/bun
ln -s $out/bin/bun $out/bin/bunx
runHook postInstall
'';
passthru = {