nodePackages: regen only node-env

This commit is contained in:
Lily Foster 2023-03-07 10:23:11 -05:00
parent b85c1e319e
commit 0835e5a189
No known key found for this signature in database
GPG Key ID: 49340081E484C893

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