mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
bitwarden-desktop: enforce using correct Node version
Otherwise nothing tells us we are using different than upstream. This also checks anything else in the `package.json`’s `engines` spec, e.g. npm version, which we might not care about but it’s compatible now so it’s fine. See https://docs.npmjs.com/cli/v10/using-npm/config#engine-strict
This commit is contained in:
parent
e7521ac9e2
commit
d62d943042
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ in buildNpmPackage rec {
|
|||
nodejs = nodejs_18;
|
||||
|
||||
makeCacheWritable = true;
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
npmFlags = [ "--engine-strict" "--legacy-peer-deps" ];
|
||||
npmWorkspace = "apps/desktop";
|
||||
npmDepsHash = "sha256-gprJGOE/uSSM3NHpcbelB7sueObEl4o522WRHIRFmwo=";
|
||||
|
||||
|
|
Loading…
Reference in a new issue