From: Mathieu Othacehe <othacehe@gnu.org>
To: 47929@debbugs.gnu.org
Cc: Mathieu Othacehe <othacehe@gnu.org>
Subject: [bug#47929] [PATCH 2/5] scripts: pull: Load (gnu packages) module.
Date: Wed, 21 Apr 2021 14:21:05 +0200 [thread overview]
Message-ID: <20210421122108.2344-2-othacehe@gnu.org> (raw)
In-Reply-To: <20210421122108.2344-1-othacehe@gnu.org>
This allows to pass a manifest to channel-with-substitutes-available this way:
(channel-with-substitutes-available
%default-guix-channel
"https://ci.guix.gnu.org"
(specifications->manifest
'("git" "emacs-minimal")))
* guix/scripts/pull.scm (channel-list): Load the (gnu packages) module when
evaluating the user channels list.
---
guix/scripts/pull.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 07613240a8..662239b492 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -707,7 +707,8 @@ transformations specified in OPTS (resulting from '--url', '--commit', or
(string-append %sysconfdir "/guix/channels.scm"))
(define (load-channels file)
- (let ((result (load* file (make-user-module '((guix channels))))))
+ (let ((result (load* file (make-user-module '((guix channels)
+ (gnu packages))))))
(if (and (list? result) (every channel? result))
result
(leave (G_ "'~a' did not return a list of channels~%") file))))
--
2.31.1
next prev parent reply other threads:[~2021-04-21 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-21 12:16 [bug#47929] [PATCH 0/5] Add manifest support to channel-with-substitutes-available Mathieu Othacehe
2021-04-21 12:21 ` [bug#47929] [PATCH 1/5] ci: " Mathieu Othacehe
2021-04-21 12:21 ` Mathieu Othacehe [this message]
2021-04-21 12:21 ` [bug#47929] [PATCH 3/5] ci: Add dashboard procedures Mathieu Othacehe
2021-04-21 12:21 ` [bug#47929] [PATCH 4/5] scripts: weather: Add packages dashboard support Mathieu Othacehe
2021-04-21 12:21 ` [bug#47929] [PATCH 5/5] ui: Disable hyperlink support inside screen Mathieu Othacehe
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210421122108.2344-2-othacehe@gnu.org \
--to=othacehe@gnu.org \
--cc=47929@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.