--- Begin Message ---
Subject: |
[PATCH] gnu: node: Add search path specification for 'NODE_PATH'. |
Date: |
Tue, 18 Jul 2017 17:50:21 +0200 |
From: Jelle Licht <address@hidden>
* 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 <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27757] [PATCH] gnu: node: Add search path specification for 'NODE_PATH'. |
Date: |
Tue, 18 Jul 2017 20:31:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Ludovic Courtès writes:
> Jan Nieuwenhuizen <address@hidden> skribis:
>
>> From: Jelle Licht <address@hidden>
>>
>> * gnu/packages/node.scm (node)[native-search-paths]: New field.
>
> Sure, go for it!
Thanks, pushed to master as: 45c18f8529ed25729e9cbdfeeda4aed3c965180d
janneke
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
--- End Message ---