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 \