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