Unverified Commit 0835e5a1 authored by Lily Foster's avatar Lily Foster
Browse files

nodePackages: regen only node-env

parent b85c1e31
Loading
Loading
Loading
Loading
+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