mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
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 a new issue