Skip to content

Commit

Permalink
Add PNPM_HOME to pnpm package.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Oct 1, 2024
1 parent bcff647 commit cb535c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pnpm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ description = "pnpm is a package manager for JavaScript and Node.js projects. It
test = "pnpm --version"
binaries = ["pnpm"]

env = {
"PNPM_HOME": "${HERMIT_ENV}/.hermit/pnpm",
"PATH": "${HERMIT_ENV}/.hermit/pnpm:${PATH}",
}

platform "linux" "amd64" {
source = "https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-${os}-x64"

Expand Down

0 comments on commit cb535c6

Please sign in to comment.