Commit f1e3951c authored by HigherOrderLogic's avatar HigherOrderLogic
Browse files

tsx: add update script

parent eb559796
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
  pnpmConfigHook,
  nodejs_22,
  versionCheckHook,
  nix-update-script,
}:
let
  pnpm' = pnpm_10.override { nodejs = nodejs_22; };
@@ -97,6 +98,8 @@ stdenv.mkDerivation (finalAttrs: {
  doInstallCheck = true;
  versionCheckProgramArg = "--version";

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "TypeScript Execute (tsx): The easiest way to run TypeScript in Node.js";
    homepage = "https://tsx.is";