spark-wallet: switch from nodejs 10 to 12

nixpkgs starts marking nodejs 10 as insecure because it is end of life.
This commit is contained in:
Jonas Nick 2022-01-20 21:58:11 +00:00
parent b9f9c202f8
commit ffabad225b
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
let
nodeEnv = import "${toString pkgs.path}/pkgs/development/node-packages/node-env.nix" {

View File

@ -29,7 +29,7 @@ jq '.dependencies["qrcode-terminal"] = .optionalDependencies["qrcode-terminal"]'
# Generate nix pkg
node2nix \
--nodejs-10 \
--nodejs-12 \
--input $src/package.json \
--lock $src/npm-shrinkwrap.json \
--composition composition.nix \