1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 03:30:30 +02:00

guix: texlive importer: Fix version error when importing a package.

* guix/import/texlive.scm (texlive->guix-package): Use find-version instead of
returning the first version tag.

Change-Id: Ib144d56c034c9ce3e5a4cddcffb78be58cd05e62
This commit is contained in:
Nicolas Goaziou
2025-03-25 22:01:54 +01:00
committed by Andreas Enge
parent 3cf3880212
commit 9192c195ff

View File

@@ -768,7 +768,7 @@ 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 (or version (first (texlive-tags)))))
(let ((version (find-version (texlive-tags) version #t)))
(tlpdb->package name version (or database (tlpdb/cached version))))))
(define* (texlive-recursive-import name #:key repo version)