From ffabad225b3dcfbce91ee78a771f5d9130fa825e Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Thu, 20 Jan 2022 21:58:11 +0000 Subject: [PATCH] spark-wallet: switch from nodejs 10 to 12 nixpkgs starts marking nodejs 10 as insecure because it is end of life. --- pkgs/spark-wallet/composition.nix | 2 +- pkgs/spark-wallet/generate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/spark-wallet/composition.nix b/pkgs/spark-wallet/composition.nix index f49b28e..01c4b77 100644 --- a/pkgs/spark-wallet/composition.nix +++ b/pkgs/spark-wallet/composition.nix @@ -2,7 +2,7 @@ {pkgs ? import { 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" { diff --git a/pkgs/spark-wallet/generate.sh b/pkgs/spark-wallet/generate.sh index 88dfffc..6f2aa7e 100755 --- a/pkgs/spark-wallet/generate.sh +++ b/pkgs/spark-wallet/generate.sh @@ -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 \