From: zimoun <zimon.toutoune@gmail.com>
To: Andreas Enge <andreas@enge.fr>,
Vincent Legoll <vincent.legoll@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Xpdf with or without Qt
Date: Fri, 26 Feb 2021 19:06:39 +0100 [thread overview]
Message-ID: <86o8g61z68.fsf@gmail.com> (raw)
In-Reply-To: <YDkpuElJLPCRt9XV@jurong>
Hi Andreas,
On Fri, 26 Feb 2021 at 18:02, Andreas Enge <andreas@enge.fr> wrote:
> How can I personally keep the old variant?
I would go with inferior.
<https://guix.gnu.org/manual/devel/en/guix.html#Inferiors>
--8<---------------cut here---------------start------------->8---
(use-modules (guix inferior) (guix channels)
(srfi srfi-1)) ;for 'first'
(define channels
;; This is the old revision from which we want to
;; extract xpdf
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"))))
(define inferior
(inferior-for-channels channels))
(packages->manifest
(list (first (lookup-inferior-packages inferior "xpdf"))
(map
specification->package
(list
"foo"
"bar"
…))))
--8<---------------cut here---------------end--------------->8---
where xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is the last commit
containing the version you like.
Hope that helps,
simon
next prev parent reply other threads:[~2021-02-26 18:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 15:43 Xpdf with or without Qt Andreas Enge
2021-02-26 16:27 ` Vincent Legoll
2021-02-26 17:02 ` Andreas Enge
2021-02-26 17:18 ` Vincent Legoll
2021-02-26 18:06 ` zimoun [this message]
2021-02-27 11:23 ` Andreas Enge
-- strict thread matches above, loose matches on Subject: below --
2021-02-26 17:31 Leo Prikler
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=86o8g61z68.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=vincent.legoll@gmail.com \
/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.