From: "Gábor Boskovits" <boskovits@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: nesting with-imported-modules
Date: Sun, 2 Feb 2020 16:47:29 +0100 [thread overview]
Message-ID: <CAE4v=pgXUGzf+djA_tKo5LZKMhOoTCJ24yx8HBFzyyPzTocWJQ@mail.gmail.com> (raw)
In-Reply-To: <874kwat0a8.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]
Hello,
Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2020. febr. 1., Szo
23:23):
> 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.
>
Looks useful to me. Also, it seems to me that with-imported-modules work in
unexpected ways when wrapped inside with-extensions.
What I observed was that adding a with-imported-modules some-guix-module
inside a with-extensions guix broke patch file search. Can that be related?
>
> --
> Ricardo
>
>
[-- Attachment #2: Type: text/html, Size: 1375 bytes --]
next prev parent reply other threads:[~2020-02-02 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-01 22:23 nesting with-imported-modules Ricardo Wurmus
2020-02-02 15:47 ` Gábor Boskovits [this message]
2020-02-05 14:07 ` Ludovic Courtès
2020-02-20 9:01 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE4v=pgXUGzf+djA_tKo5LZKMhOoTCJ24yx8HBFzyyPzTocWJQ@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).