Unverified Commit c0754f90 authored by Theodore Ni's avatar Theodore Ni
Browse files

bun: add bunx cli

This is just a symlink to bun, which detects it's being run as bunx by
checking argv.
parent 91991a33
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = {