mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
6 lines
108 B
Bash
6 lines
108 B
Bash
addNodePath () {
|
|
addToSearchPath NODE_PATH $1/lib/node_modules
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addNodePath)
|