mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
import: texlive: Import the given version when specified.
Fixes a regression in ‘tests/texlive.scm’ introduced in commit
f13f076968
whereby ‘texlive-tags’ would be
called unconditionally, leading to an attempt to build Subversion.
* guix/import/texlive.scm (texlive->guix-package): Honor VERSION when it
is true.
Change-Id: I05e158fe55c65f7547c7150f00a589b4f600a40a
This commit is contained in:
parent
91c26959dc
commit
096dedd0bb
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,8 @@ associated Guix package, or #f on failure. Fetch metadata for a specific
|
|||
version whenever VERSION keyword is specified. Otherwise, grab package latest
|
||||
release. When DATABASE is provided, fetch metadata from there, ignoring
|
||||
VERSION."
|
||||
(let ((version (find-version (texlive-tags) version #t)))
|
||||
(let ((version (or version
|
||||
(find-version (texlive-tags) version #t))))
|
||||
(tlpdb->package name version (or database (tlpdb/cached version))))))
|
||||
|
||||
(define* (texlive-recursive-import name #:key repo version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue