about summary refs log tree commit diff
path: root/pkgs/applications/networking/n8n/default.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-01-08 22:44:46 +0300
committerK900 <me@0upti.me>2022-01-22 23:43:56 +0300
commit6cecc1f603bd8b7ce9c1ea57697f0f5324b418c4 (patch)
tree2241586ca5087e55e263984c5d2bd2b50c27d277 /pkgs/applications/networking/n8n/default.nix
parente0efc750bb2c0353ee37e2df2a8e259e9ca96beb (diff)
n8n: 0.105.0 -> 0.160.0, fix build
- regenerate everything
- hardcode to build with node 14 (upstream doesn't support 16 yet)
- remove optional deps to make things build without python2
- set HOME in service environment to prevent crashing

Changes in node-*.nix are autogenerated.
Diffstat (limited to 'pkgs/applications/networking/n8n/default.nix')
-rw-r--r--pkgs/applications/networking/n8n/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix
index 94305a8cfeeae..d882134473b6b 100644
--- a/pkgs/applications/networking/n8n/default.nix
+++ b/pkgs/applications/networking/n8n/default.nix
@@ -1,8 +1,9 @@
-{ pkgs, nodejs, stdenv, lib, ... }:
+{ pkgs, nodejs-14_x, stdenv, lib }:
 
 let
   nodePackages = import ./node-composition.nix {
-    inherit pkgs nodejs;
+    inherit pkgs;
+    nodejs = nodejs-14_x;
     inherit (stdenv.hostPlatform) system;
   };
 in
@@ -10,9 +11,10 @@ nodePackages.n8n.override {
   nativeBuildInputs = with pkgs.nodePackages; [
     node-pre-gyp
   ];
+
   meta = with lib; {
     description = "Free and open fair-code licensed node based Workflow Automation Tool";
-    maintainers = with maintainers; [ freezeboy ];
+    maintainers = with maintainers; [ freezeboy k900 ];
     license = licenses.asl20;
   };
 }