3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/n8n/default.nix
K900 6cecc1f603 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.
2022-01-22 23:43:56 +03:00

21 lines
487 B
Nix

{ pkgs, nodejs-14_x, stdenv, lib }:
let
nodePackages = import ./node-composition.nix {
inherit pkgs;
nodejs = nodejs-14_x;
inherit (stdenv.hostPlatform) system;
};
in
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 k900 ];
license = licenses.asl20;
};
}