unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* nesting with-imported-modules
@ 2020-02-01 22:23 Ricardo Wurmus
  2020-02-02 15:47 ` Gábor Boskovits
  2020-02-05 14:07 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2020-02-01 22:23 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

it seems that it is impossible to nest with-imported-modules.  A gexp
that is wrapped in multiple layers of with-imported-modules won’t depend
on the list of all mentioned modules but only on the outermost.

This is because with-imported-modules sets the current-imported-modules
parameter without checking if the parameter already has a value.

Should nesting be supported?  It seems useful.

--
Ricardo

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

end of thread, other threads:[~2020-02-20  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-01 22:23 nesting with-imported-modules Ricardo Wurmus
2020-02-02 15:47 ` Gábor Boskovits
2020-02-05 14:07 ` Ludovic Courtès
2020-02-20  9:01   ` Ricardo Wurmus

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