From c1fcb0c2e60743b5d052043c94f2d6934ec89b32 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 30 Jul 2013 13:00:05 +0200 Subject: [PATCH] Make the setup-hook work again now that nodejs modules reside in lib/node_modules --- 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 c2888471044..41a9746ba42 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/node_modules + addToSearchPath NODE_PATH $1/lib/node_modules } envHooks=(${envHooks[@]} addNodePath)