gnu: node: Add search path specification for 'NODE_PATH'.

* gnu/packages/node.scm (node)[native-search-paths]: New field.
This commit is contained in:
Jelle Licht 2016-08-23 04:41:28 +02:00 committed by Jan Nieuwenhuizen
parent 21ffcd65c5
commit 45c18f8529
No known key found for this signature in database
GPG Key ID: A12F87978D701B99
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@
("procps" ,procps) ("procps" ,procps)
("util-linux" ,util-linux) ("util-linux" ,util-linux)
("which" ,which))) ("which" ,which)))
(native-search-paths
(list (search-path-specification
(variable "NODE_PATH")
(files '("lib/node_modules")))))
(inputs (inputs
`(("c-ares" ,c-ares) `(("c-ares" ,c-ares)
("http-parser" ,http-parser) ("http-parser" ,http-parser)