all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27757] [PATCH] gnu: node: Add search path specification for 'NODE_PATH'.
@ 2017-07-18 15:50 Jan Nieuwenhuizen
  2017-07-18 17:02 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2017-07-18 15:50 UTC (permalink / raw)
  To: 27757

From: Jelle Licht <jlicht@fsfe.org>

* gnu/packages/node.scm (node)[native-search-paths]: New field.
---
 gnu/packages/node.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index d4415fc50..2cebabbca 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)
-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-18 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 15:50 [bug#27757] [PATCH] gnu: node: Add search path specification for 'NODE_PATH' Jan Nieuwenhuizen
2017-07-18 17:02 ` Ludovic Courtès
2017-07-18 18:31   ` bug#27757: " Jan Nieuwenhuizen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.