GHCJS: Fix autogenerated node executables
This commit is contained in:
parent
8cbf295b6c
commit
0a8359f18c
@ -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