* [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
* [bug#27757] [PATCH] gnu: node: Add search path specification for 'NODE_PATH'.
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
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-18 17:02 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: 27757
Jan Nieuwenhuizen <janneke@gnu.org> skribis:
> From: Jelle Licht <jlicht@fsfe.org>
>
> * gnu/packages/node.scm (node)[native-search-paths]: New field.
Sure, go for it!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#27757: [PATCH] gnu: node: Add search path specification for 'NODE_PATH'.
2017-07-18 17:02 ` Ludovic Courtès
@ 2017-07-18 18:31 ` Jan Nieuwenhuizen
0 siblings, 0 replies; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2017-07-18 18:31 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 27757-done
Ludovic Courtès writes:
> Jan Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> From: Jelle Licht <jlicht@fsfe.org>
>>
>> * gnu/packages/node.scm (node)[native-search-paths]: New field.
>
> Sure, go for it!
Thanks, pushed to master as: 45c18f8529ed25729e9cbdfeeda4aed3c965180d
janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
^ permalink raw reply [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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).