guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: node: Add search path specification for 'NODE_PATH'.


From: Jan Nieuwenhuizen
Subject: 01/01: gnu: node: Add search path specification for 'NODE_PATH'.
Date: Tue, 18 Jul 2017 14:31:19 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit 45c18f8529ed25729e9cbdfeeda4aed3c965180d
Author: Jelle Licht <address@hidden>
Date:   Tue Aug 23 04:41:28 2016 +0200

    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(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index d4415fc..2cebabb 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]