From: "Philip McGrath" <philip@philipmcgrath.com>
To: "Guix Help" <help-guix@gnu.org>
Subject: Using inferiors
Date: Fri, 14 Jul 2023 13:01:49 -0400 [thread overview]
Message-ID: <0d51a525-835d-4add-b3c5-88803d1b2587@app.fastmail.com> (raw)
I have what I think would be a simple use of inferiors, but it is failing to build. I'd like to understand both (1) why and (2) how to get a more informative error message.
```
philip@bastet:/tmp$ cat demo.scm
(use-modules
(guix channels)
(guix inferior)
(ice-9 match))
(define glibc-2.23-channels
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit
;; glibc-2.23 was removed in commit:
;; ebd1ba713cbefc9ad5dac609255e1344a328e360
;; This commit is the parent of that one:
"ccc1d743a64fd71bee1a27f1f495978989b41126")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))))
(define inferior
(inferior-for-channels glibc-2.23-channels))
(match (lookup-inferior-packages inferior "glibc" "2.23")
((pkg)
pkg))
philip@bastet:/tmp$ guix build -f demo.scm
guix build: error: build of `/gnu/store/pmkm9g0w14zymdpzjh8db5c7smv7ia4j-glibc-2.23.drv' failed
```
reply other threads:[~2023-07-14 17:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=0d51a525-835d-4add-b3c5-88803d1b2587@app.fastmail.com \
--to=philip@philipmcgrath.com \
--cc=help-guix@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.
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).