From 45c18f8529ed25729e9cbdfeeda4aed3c965180d Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Tue, 23 Aug 2016 04:41:28 +0200 Subject: gnu: node: Add search path specification for 'NODE_PATH'. * gnu/packages/node.scm (node)[native-search-paths]: New field. --- gnu/packages/node.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/node.scm') 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) -- cgit 1.4.1