HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ffcd6
)
gnu: node: Add search path specification for 'NODE_PATH'.
author
Jelle Licht
<jlicht@fsfe.org>
Tue, 23 Aug 2016 02:41:28 +0000
(
04:41
+0200)
committer
Jan Nieuwenhuizen
<janneke@gnu.org>
Tue, 18 Jul 2017 15:49:02 +0000
(17:49 +0200)
* gnu/packages/node.scm (node)[native-search-paths]: New field.
gnu/packages/node.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/node.scm
b/gnu/packages/node.scm
index
d4415fc
..
2cebabb
100644
(file)
--- a/
gnu/packages/node.scm
+++ b/
gnu/packages/node.scm
@@
-134,6
+134,10
@@
("procps" ,procps)
("util-linux" ,util-linux)
("which" ,which)))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "NODE_PATH")
+ (files '("lib/node_modules")))))
(inputs
`(("c-ares" ,c-ares)
("http-parser" ,http-parser)