From e975c5650174f472bad14e946cdb34e5e1ea6874 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Fri, 11 Mar 2022 20:00:00 +0100 Subject: [PATCH] nodejs: Fix setup-hook addNodePath quoting The argument to addNodePath previously wasn't being quoted, leading to problems when the argument contains characters interpreted specially by bash --- pkgs/development/web/nodejs/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/setup-hook.sh b/pkgs/development/web/nodejs/setup-hook.sh index 18368588c2af..878e0693a1e6 100644 --- a/pkgs/development/web/nodejs/setup-hook.sh +++ b/pkgs/development/web/nodejs/setup-hook.sh @@ -1,5 +1,5 @@ addNodePath () { - addToSearchPath NODE_PATH $1/lib/node_modules + addToSearchPath NODE_PATH "$1/lib/node_modules" } addEnvHooks "$hostOffset" addNodePath