This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nixpkgs
Watch
2
Star
0
Fork
0
You've already forked nixpkgs
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2025-01-02 02:53:55 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
53fe6fc0bb
nixpkgs
/
pkgs
/
development
/
web
/
nodejs
/
setup-hook.sh
6 lines
94 B
Bash
Raw
Normal View
History
Unescape
Escape
Added setup hook that adds a Node package automatically to NODE_PATH, if included in the buildInputs parameter
2013-02-04 14:21:33 +00:00
addNodePath
(
)
{
Make the setup-hook work again now that nodejs modules reside in lib/node_modules
2013-07-30 11:00:05 +00:00
addToSearchPath NODE_PATH
$1
/lib/node_modules
Added setup hook that adds a Node package automatically to NODE_PATH, if included in the buildInputs parameter
2013-02-04 14:21:33 +00:00
}
Cleanup: Use += to append to envHooks
2014-07-08 12:20:05 +00:00
envHooks
+=
(
addNodePath
)
Reference in New Issue
Copy Permalink