Merge pull request #37826 from ElvishJerricco/fix-node-executables-ghcjs
GHCJS: Fix autogenerated node executables
This commit is contained in:
commit
caf83c6477
@ -352,6 +352,7 @@ stdenv.mkDerivation ({
|
||||
for exeDir in "$out/bin/"*.jsexe; do
|
||||
exe="''${exeDir%.jsexe}"
|
||||
printWords '#!${nodejs}/bin/node' > "$exe"
|
||||
echo >> "$exe"
|
||||
cat "$exeDir/all.js" >> "$exe"
|
||||
chmod +x "$exe"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user