3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/n8n/generate-dependencies.sh
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
479 B
Bash
Executable file

#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
# --strip-optional-dependencies to get rid of deprecated build deps:
#
# n8n
# -> n8n-nodes-base
# -> ssh2-sftp-client
# -> ssh2
# -> cpu-features
# -> node-gyp@3.8.0 -> python2
# -> cmake
node2nix \
--14 \
--strip-optional-dependencies \
--node-env node-env.nix \
--input package.json \
--output node-packages.nix \
--composition node-composition.nix