unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Adding extra package importers
@ 2021-09-19 13:01 pinoaffe
  2021-09-19 14:44 ` Maxime Devos
  2021-09-23 20:28 ` Merging the “binary” NPM importer? Ludovic Courtès
  0 siblings, 2 replies; 23+ messages in thread
From: pinoaffe @ 2021-09-19 13:01 UTC (permalink / raw)
  To: guix-devel, Jelle Licht

Hi guix,

Recently, I made an effort to get the guix-npm binary importer working
in combination with a relatively "modern" guix - my changes are rather
hacky and I think I may have broken a thing or two, but i got it to work
reasonably well in the REPL.
(many thanks to Jelle Licht and possibly others who initially wrote the importer)

Considering that such a binary importer is probably not well-suited for
inclusion in guix-proper, I would like to make it available through an
additional channel, mostly for my own use but maybe also for others.

However, the commandline interface for ~guix import~ operates based on a
list of importers in (guix scripts import) in guix proper - is there a
way to replace this functionality so that additional guix channels could
"extend" the list of importers?

Additionally, does anyone have an idea as to how to deal with the fact
that a single recursive import will often add several versions of the
same package? The only thing I could come up with would be to always
append the full package version to variable names, but that seems like a
somewhat ugly fix.

My current version of the code can be seen at
https://git.pixie.town/pinoaffe/guix-npm-binary

Kind regards,
pinoaffe


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

end of thread, other threads:[~2021-10-29 14:55 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19 13:01 Adding extra package importers pinoaffe
2021-09-19 14:44 ` Maxime Devos
2021-09-23 20:28 ` Merging the “binary” NPM importer? Ludovic Courtès
2021-09-23 23:13   ` pinoaffe
2021-09-26 13:37     ` Jelle Licht
2021-09-26 21:34       ` pinoaffe
2021-09-26 22:32         ` Philip McGrath
2021-09-27  8:57           ` pinoaffe
2021-09-27 15:13             ` Katherine Cox-Buday
2021-09-28 12:37       ` Ludovic Courtès
2021-09-25  3:17   ` Christine Lemmer-Webber
2021-10-08  1:51     ` Maxim Cournoyer
2021-10-08 14:16       ` Katherine Cox-Buday
2021-10-11 10:13         ` zimoun
2021-10-11 17:12           ` pinoaffe
2021-10-12 18:21       ` Timothy Sample
2021-10-14  1:26         ` Maxim Cournoyer
2021-10-14 13:58           ` Ludovic Courtès
2021-10-14 14:54             ` Opining on "modern" development practices (was Re: Merging the “binary” NPM importer?) Katherine Cox-Buday
2021-10-21 19:39               ` Ludovic Courtès
2021-10-28 15:01                 ` Katherine Cox-Buday
2021-10-29 12:33                   ` Ludovic Courtès
2021-10-29 14:54                     ` Katherine Cox-Buday

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).