diff options
author | K900 <me@0upti.me> | 2022-01-30 16:42:33 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-08 11:56:31 -0800 |
commit | 8d854f52eb3efa72144ecc3e4081b7a3c6487f03 (patch) | |
tree | 062facfc709de2f605a6d7c726697ba8c25f8d60 /pkgs/applications/networking/n8n | |
parent | 018997e2c2792caf4fcf407a1a7b9d8cc23ab8aa (diff) |
n8n: register updateScript
Diffstat (limited to 'pkgs/applications/networking/n8n')
-rw-r--r-- | pkgs/applications/networking/n8n/default.nix | 2 | ||||
-rwxr-xr-x | pkgs/applications/networking/n8n/generate-dependencies.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix index d882134473b6b..e7e1be095a204 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 26926deefb681..f7412bc5e5e26 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 \ |