fix:
This commit is contained in:
1 parent
9dc3de8b2f
commit
0045f376ed
1 file changed
+3
-2
+3
-2
@@ -3,8 +3,9 @@ nixPkgs = ['nodejs_18', 'openssl']
|
||||
cmds = [
|
||||
'npm install -g pnpm@latest',
|
||||
'mkdir -p /usr/bin',
|
||||
'which pnpm > /tmp/pnpm_path',
|
||||
'cp $(which pnpm) /usr/bin/pnpm'
|
||||
'npm config get prefix > /tmp/npm_prefix',
|
||||
'cp $(cat /tmp/npm_prefix)/bin/pnpm /usr/bin/pnpm',
|
||||
'chmod +x /usr/bin/pnpm'
|
||||
]
|
||||
|
||||
[phases.install]
|
||||
|
||||
Reference in new issue
Block a user