From 0a8359f18cc275408c6de82027262e6fd9e382a5 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Sun, 25 Mar 2018 20:43:23 -0400 Subject: [PATCH] GHCJS: Fix autogenerated node executables --- pkgs/development/haskell-modules/generic-builder.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 2f6f5e51c0e8..76c18cc486eb 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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