diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index bac6a881683..ce58ffe7fd1 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -669,7 +669,9 @@ at VERSION." (values `(package (name ,name) - (version ,(if empty-package? '%texlive-version version)) + (version ,(if empty-package? + '(package-version texlive-source) + version)) (source ,(and (not meta-package?) `(origin diff --git a/tests/texlive.scm b/tests/texlive.scm index 8e7e5969621..651be5bfec8 100644 --- a/tests/texlive.scm +++ b/tests/texlive.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2022 Ricardo Wurmus -;;; Copyright © 2023, 2024 Nicolas Goaziou +;;; Copyright © 2023, 2024, 2025 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -587,7 +587,7 @@ completely compatible with Plain TeX.") (match result (('package ('name "texlive-collection-texworks") - ('version '%texlive-version) + ('version '(package-version texlive-source)) ('source #f) ('build-system 'trivial-build-system) ('arguments