diff options
author | Jelle Licht <jlicht@fsfe.org> | 2016-08-23 04:41:28 +0200 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2017-07-18 17:49:02 +0200 |
commit | 45c18f8529ed25729e9cbdfeeda4aed3c965180d (patch) | |
tree | 7048c38e7e5b6f024c6f72c6862bb2476da9510b | |
parent | 21ffcd65c5a3459e939a75eb9151acde6ab53723 (diff) | |
download | patches-45c18f8529ed25729e9cbdfeeda4aed3c965180d.tar patches-45c18f8529ed25729e9cbdfeeda4aed3c965180d.tar.gz |
gnu: node: Add search path specification for 'NODE_PATH'.
* gnu/packages/node.scm (node)[native-search-paths]: New field.
-rw-r--r-- | gnu/packages/node.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index d4415fc501..2cebabbcaf 100644 --- 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) |