From af4cb2e3056dd106a5ea5d2b99931ba984a1d303 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 28 Apr 2023 15:40:54 +0000 Subject: n8n: 0.218.0 -> 0.225.2 --- pkgs/applications/networking/n8n/node-env.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/networking/n8n/node-env.nix') diff --git a/pkgs/applications/networking/n8n/node-env.nix b/pkgs/applications/networking/n8n/node-env.nix index 5dad9ec63d47c..bc1e36628ac8a 100644 --- a/pkgs/applications/networking/n8n/node-env.nix +++ b/pkgs/applications/networking/n8n/node-env.nix @@ -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 -- cgit 1.4.1