mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
6 lines
94 B
Bash
6 lines
94 B
Bash
addNodePath () {
|
|
addToSearchPath NODE_PATH $1/lib/node_modules
|
|
}
|
|
|
|
envHooks+=(addNodePath)
|