Added setup hook that adds a Node package automatically to NODE_PATH, if included in the buildInputs parameter
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
addNodePath () {
|
||||
addToSearchPath NODE_PATH $1/node_modules
|
||||
}
|
||||
|
||||
envHooks=(${envHooks[@]} addNodePath)
|
||||
Reference in New Issue
Block a user