Skip to content

Commit

Permalink
feat: add mise and vfox shims to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 10, 2024
1 parent 9a3a66d commit 8b4b094
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ export default async ({ daggerVersion, engineVersion, wasm, pipeline, args, work
if (!wasm) {
await installDocker();
}
// add nix and rye to PATH
// add nix, mise, vfox and rye to PATH
action.addPath(join(homedir(), ".rye", "shims"));
action.addPath(join(homedir(), ".local", "share", "mise", "shims"));
action.addPath(join(homedir(), ".version-fox", "shims"));
action.addPath(join(homedir(), ".nix-profile", "bin"));
action.addPath("/nix/var/nix/profiles/default/bin");
await exec("sh", [
Expand Down
4 changes: 3 additions & 1 deletion src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ export default async ({
await installDocker();
}

// add nix and rye to PATH
// add nix, mise, vfox and rye to PATH
action.addPath(join(homedir(), ".rye", "shims"));
action.addPath(join(homedir(), ".local", "share", "mise", "shims"));
action.addPath(join(homedir(), ".version-fox", "shims"));
action.addPath(join(homedir(), ".nix-profile", "bin"));
action.addPath("/nix/var/nix/profiles/default/bin");

Expand Down

0 comments on commit 8b4b094

Please sign in to comment.