This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
1
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2024-12-24 19:08:30 +00:00
Code
Issues
Wiki
Activity
8f4f9b6223
Branches
Tags
No results found.
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 12:00:05 +01: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 13:20:05 +01:00
envHooks
+=
(
addNodePath
)
Copy permalink