guix-devel
[Top][All Lists]
Advanced

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

nesting with-imported-modules


From: Ricardo Wurmus
Subject: nesting with-imported-modules
Date: Sat, 01 Feb 2020 23:23:11 +0100
User-agent: mu4e 1.2.0; emacs 26.3

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



reply via email to

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