Skip to content

Commit

Permalink
nodePackages: regen only node-env
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight committed Mar 7, 2023
1 parent b85c1e3 commit 0835e5a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/development/node-packages/node-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0835e5a

Please sign in to comment.