From a05f8cfe25e3fb93fb95fe8ffb499832994e9934 Mon Sep 17 00:00:00 2001 From: Arjan Schrijver Date: Fri, 5 May 2023 22:37:04 +0200 Subject: [PATCH] ntfy-sh: build node dependencies with nodejs_18 --- pkgs/tools/misc/ntfy-sh/generate-dependencies.sh | 3 +-- pkgs/tools/misc/ntfy-sh/node-composition.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/ntfy-sh/generate-dependencies.sh b/pkgs/tools/misc/ntfy-sh/generate-dependencies.sh index 83e2e2b7b420..e4d791836813 100755 --- a/pkgs/tools/misc/ntfy-sh/generate-dependencies.sh +++ b/pkgs/tools/misc/ntfy-sh/generate-dependencies.sh @@ -3,9 +3,8 @@ ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../..)" $(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \ - --nodejs-14 \ + --nodejs-18 \ --node-env ../../../development/node-packages/node-env.nix \ - --development \ --output node-packages.nix \ --composition node-composition.nix # removed temporarily because of https://github.com/svanderburg/node2nix/issues/312 diff --git a/pkgs/tools/misc/ntfy-sh/node-composition.nix b/pkgs/tools/misc/ntfy-sh/node-composition.nix index f8182c1e6e59..a8d0b3e075a5 100644 --- a/pkgs/tools/misc/ntfy-sh/node-composition.nix +++ b/pkgs/tools/misc/ntfy-sh/node-composition.nix @@ -2,7 +2,7 @@ {pkgs ? import { inherit system; - }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_14"}: + }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_18"}: let nodeEnv = import ../../../development/node-packages/node-env.nix {