mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-08 14:46:49 +00:00
pnpm.fetchDeps: Better pnpmInstallFlags support
This commit is contained in:
parent
09cec0f560
commit
698f4accb3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user