gnu: node: Add search path specification for 'NODE_PATH'.
* gnu/packages/node.scm (node)[native-search-paths]: New field.
This commit is contained in:
parent
21ffcd65c5
commit
45c18f8529
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue