6cecc1f603
- 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.
20 lines
479 B
Bash
Executable file
20 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
|