1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/web/nodejs/setup-hook.sh

6 lines
104 B
Bash

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