Skip to content

Commit

Permalink
nodePackages: regen only node-env
Browse files Browse the repository at this point in the history
(cherry picked from commit 0835e5a)
  • Loading branch information
lilyinstarlight authored and github-actions[bot] committed Mar 9, 2023
1 parent 6c89324 commit 1599b34
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 1599b34

Please sign in to comment.