3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/nodejs/setup-hook.sh

6 lines
108 B
Bash

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