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 = [
|
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]
|
||||||
|
|||||||
Reference in new issue
Block a user