1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Make the setup-hook work again now that nodejs modules reside in lib/node_modules

This commit is contained in:
Sander van der Burg 2013-07-30 13:00:05 +02:00
parent c7e680c5bd
commit c1fcb0c2e6

View file

@ -1,5 +1,5 @@
addNodePath () {
addToSearchPath NODE_PATH $1/node_modules
addToSearchPath NODE_PATH $1/lib/node_modules
}
envHooks=(${envHooks[@]} addNodePath)