n8n: 0.218.0 -> 0.225.2

This commit is contained in:
K900 2023-04-28 15:40:54 +00:00
parent 88ae8974f1
commit af4cb2e305
3 changed files with 2713 additions and 1094 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, nodejs_16, stdenv, lib, nixosTests }:
{ pkgs, stdenv, lib, nixosTests }:
let
nodePackages = import ./node-composition.nix {
@ -13,6 +13,7 @@ nodePackages.n8n.override {
buildInputs = [
pkgs.postgresql
pkgs.libmongocrypt
];
# Oracle's official package on npm is binary only (WHY?!) and doesn't provide binaries for aarch64.
@ -24,6 +25,9 @@ nodePackages.n8n.override {
rm -rf node_modules/oracledb
'';
# makes libmongocrypt bindings not look for static libraries in completely wrong places
BUILD_TYPE = "dynamic";
dontNpmInstall = true;
passthru = {

View File

@ -530,12 +530,15 @@ let
then
ln -s $out/lib/node_modules/.bin $out/bin
# Patch the shebang lines of all the executables
# Fixup all executables
ls $out/bin/* | while read i
do
file="$(readlink -f "$i")"
chmod u+rwx "$file"
patchShebangs "$file"
if isScript "$file"
then
sed -i 's/\r$//' "$file" # convert crlf to lf
fi
done
fi

File diff suppressed because it is too large Load Diff