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-10-10 15:26:54 +0000
committerK900 <me@0upti.me>2022-10-10 18:35:29 +0300
commit352bcbb3b15f6206753c10fdb1e1715e9ad1a2e1 (patch)
tree1a3af91b9ad8f9b217208c34bd9f75dafa42efe7 /pkgs/applications/networking/n8n/default.nix
parentd8648e4924017891c3a01906a4c6db4f618ad103 (diff)
n8n: 0.194.0 → 0.197.1
Diffstat (limited to 'pkgs/applications/networking/n8n/default.nix')
-rw-r--r--pkgs/applications/networking/n8n/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix
index 84ac952846f3c..e8b3d258c9c0a 100644
--- a/pkgs/applications/networking/n8n/default.nix
+++ b/pkgs/applications/networking/n8n/default.nix
@@ -7,16 +7,15 @@ let
   };
 in
 nodePackages.n8n.override {
-  nativeBuildInputs = with pkgs.nodePackages; [
-    node-pre-gyp
+  nativeBuildInputs = [
+    pkgs.nodePackages.node-pre-gyp
   ];
 
-  dontNpmInstall = true;
+  buildInputs = [
+    pkgs.postgresql
+  ];
 
-  postInstall = ''
-    mkdir -p $out/bin
-    ln -s $out/lib/node_modules/n8n/bin/n8n $out/bin/n8n
-  '';
+  dontNpmInstall = true;
 
   passthru = {
     updateScript = ./generate-dependencies.sh;