[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xpdf with or without Qt
From: |
zimoun |
Subject: |
Re: Xpdf with or without Qt |
Date: |
Fri, 26 Feb 2021 19:06:39 +0100 |
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