diff --git a/pkgs/build-support/writers/default.nix b/pkgs/build-support/writers/default.nix index 167df5635c91..e964ca6b19c0 100644 --- a/pkgs/build-support/writers/default.nix +++ b/pkgs/build-support/writers/default.nix @@ -207,7 +207,7 @@ let }; in writeDash name '' export NODE_PATH=${node-env}/lib/node_modules - exec ${pkgs.nodejs}/bin/node ${pkgs.writeText "js" content} + exec ${pkgs.nodejs}/bin/node ${pkgs.writeText "js" content} "$@" ''; # writeJSBin takes the same arguments as writeJS but outputs a directory (like writeScriptBin)