pnpm.fetchDeps: Better pnpmInstallFlags support

This commit is contained in:
Pyrox 2024-10-24 01:06:41 -04:00
parent 09cec0f560
commit 698f4accb3
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -17,6 +17,7 @@
pname,
pnpmWorkspaces ? [ ],
prePnpmInstall ? "",
pnpmInstallFlags ? [ ],
...
}@args:
let
@ -79,8 +80,8 @@
pnpm install \
--force \
--ignore-scripts \
${installFlags} \
${lib.escapeShellArgs filterFlags} \
${lib.escapeShellArgs pnpmInstallFlags} \
--frozen-lockfile
runHook postInstall