Commit af4cb2e3 authored by K900's avatar K900
Browse files

n8n: 0.218.0 -> 0.225.2

parent 88ae8974
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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 = {
+5 −2
Original line number Diff line number Diff line
@@ -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

+2704 −1092

File changed.

Preview size limit exceeded, changes collapsed.