From 8d854f52eb3efa72144ecc3e4081b7a3c6487f03 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 30 Jan 2022 16:42:33 +0000 Subject: [PATCH] n8n: register updateScript --- pkgs/applications/networking/n8n/default.nix | 2 ++ pkgs/applications/networking/n8n/generate-dependencies.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix index d882134473b6..e7e1be095a20 100644 --- a/pkgs/applications/networking/n8n/default.nix +++ b/pkgs/applications/networking/n8n/default.nix @@ -12,6 +12,8 @@ nodePackages.n8n.override { node-pre-gyp ]; + passthru.updateScript = ./generate-dependencies.sh; + meta = with lib; { description = "Free and open fair-code licensed node based Workflow Automation Tool"; maintainers = with maintainers; [ freezeboy k900 ]; diff --git a/pkgs/applications/networking/n8n/generate-dependencies.sh b/pkgs/applications/networking/n8n/generate-dependencies.sh index 26926deefb68..f7412bc5e5e2 100755 --- a/pkgs/applications/networking/n8n/generate-dependencies.sh +++ b/pkgs/applications/networking/n8n/generate-dependencies.sh @@ -10,6 +10,7 @@ # -> cpu-features # -> node-gyp@3.8.0 -> python2 # -> cmake +cd "$(dirname $(readlink -f $0))" node2nix \ --14 \