This commit is contained in:
Evandro committed 2024-11-28 13:20:07 -03:00
1 parent 9dc3de8b2f
commit 0045f376ed
1 file changed
+3 -2
+3 -2
View File
@@ -3,8 +3,9 @@ nixPkgs = ['nodejs_18', 'openssl']
cmds = [ cmds = [
'npm install -g pnpm@latest', 'npm install -g pnpm@latest',
'mkdir -p /usr/bin', 'mkdir -p /usr/bin',
'which pnpm > /tmp/pnpm_path', 'npm config get prefix > /tmp/npm_prefix',
'cp $(which pnpm) /usr/bin/pnpm' 'cp $(cat /tmp/npm_prefix)/bin/pnpm /usr/bin/pnpm',
'chmod +x /usr/bin/pnpm'
] ]
[phases.install] [phases.install]