mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
e975c56501
The argument to addNodePath previously wasn't being quoted, leading to problems when the argument contains characters interpreted specially by bash
6 lines
110 B
Bash
6 lines
110 B
Bash
addNodePath () {
|
|
addToSearchPath NODE_PATH "$1/lib/node_modules"
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addNodePath
|