nixpkgs/pkgs/development/web/nodejs/setup-hook.sh
2014-08-09 12:47:05 +02:00

6 lines
94 B
Bash

addNodePath () {
addToSearchPath NODE_PATH $1/lib/node_modules
}
envHooks+=(addNodePath)