spark-wallet: use node package lockfile

This commit is contained in:
Erik Arvstedt
2021-12-15 10:58:04 +01:00
parent 3091b0a4fb
commit f4872f3334
4 changed files with 650 additions and 459 deletions
+8 -5
View File
@@ -1,5 +1,8 @@
{ stdenv, pkgs, lib }:
lib.head (builtins.attrValues (import ./composition.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
}))
{ pkgs }:
let
nodePackages = import ./composition.nix { inherit pkgs; };
in
nodePackages.package.override {
# Required because spark-wallet uses `npm-shrinkwrap.json` as the lock file
reconstructLock = true;
}