From 3419fc9f1e5ba565bf388ba34d14763f3e081fa1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 22 Jun 2024 10:32:23 +0200 Subject: guix: import texlive: no bogus data with non-existing packages. * guix/import/texlive.scm (latest-release): Check if the package really exists in the package database before returning an object. Change-Id: I85c600b7b125b02cac58f263eac645dd8fab63ab --- guix/import/texlive.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index 1881f40f16..e4e0654b78 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -794,11 +794,12 @@ include a VERSION string to fetch a specific version." (let* ((version (or version (latest-texlive-tag))) (database (tlpdb/cached version)) (upstream-name (package-upstream-name* package))) - (upstream-source - (package upstream-name) - (version version) - (urls (texlive->svn-multi-reference upstream-name version database)) - (inputs (list-upstream-inputs upstream-name version database))))) + (and (assoc-ref database upstream-name) + (upstream-source + (package upstream-name) + (version version) + (urls (texlive->svn-multi-reference upstream-name version database)) + (inputs (list-upstream-inputs upstream-name version database)))))) (define %texlive-updater ;; The TeX Live updater. It is restricted to TeX Live releases (2023.0, -- cgit v1.2.3 bb9e1bdff92ac303f82f25db56133c23'>commitdiff
AgeCommit message (Expand)Author
2020-05-22maint: Add "make check-channel-news"....Ludovic Courtès