mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
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:
parent
91991a339a
commit
c0754f9035
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user