3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/nodejs/setup-hook.sh
Silvan Mosberger e975c56501 nodejs: Fix setup-hook addNodePath quoting
The argument to addNodePath previously wasn't being quoted, leading to
problems when the argument contains characters interpreted specially by
bash
2022-03-11 20:00:00 +01:00

6 lines
110 B
Bash

addNodePath () {
addToSearchPath NODE_PATH "$1/lib/node_modules"
}
addEnvHooks "$hostOffset" addNodePath