Skip to content

Commit 16a783e

Browse files
committed
make pnpm install work on zfs
(without that option it randomly fails sometimes)
1 parent 1c54e48 commit 16a783e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/workspaces.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ def install(args) -> None:
260260
print("install packages")
261261
# much faster special case
262262
# see https://github.com/pnpm/pnpm/issues/6778 for why we put that confirm option in
263-
c = "cd packages && pnpm install --config.confirmModulesPurge=false"
263+
# for the package-import-method, needed on zfs!, see https://github.com/pnpm/pnpm/issues/7024
264+
c = "cd packages && pnpm install --config.confirmModulesPurge=false --package-import-method=clone-or-copy"
264265
if args.prod:
265266
args.dist_only = False
266267
args.node_modules_only = True

0 commit comments

Comments
 (0)