diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-06-21 09:37:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:45:33 +0200 |
commit | 15f8f1c99a0bc9fbcbf5f6d5db94e9d55ce49fe9 (patch) | |
tree | 7f1b7b4f4d0ac77b538b37e88875a9bb3ac5caf4 /gnu/packages | |
parent | 1ba7743b5a83483f3d8d4f522fc90077a771f06b (diff) | |
download | guix-15f8f1c99a0bc9fbcbf5f6d5db94e9d55ce49fe9.tar.gz |
gnu: Factorize URLs relative to TeX Live.
* guix/build-system/texlive.scm (%texlive-repository): (texlive-packages-repository): New variables. * guix/import/texlive.scm (texlive-repository-location): (texlive-repository): Remove variables. (version->revision): (latest-texlive-tag): (tlpdb): (texlive->svn-multi-reference): Use new variables. * gnu/packages/tex.scm (texlive-source): (texlive-scripts): Use new variables. Change-Id: Ibbb21f9869d7fcb5aa66f7d9dd2070d0d5d8682a
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tex.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 114726510d..337bc6518b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -200,7 +200,8 @@ (origin (method svn-fetch) (uri (svn-reference - (url "svn://www.tug.org/texlive/trunk/Build/source/") + (url (string-append %texlive-repository + "tags/texlive-" %texlive-version "/Build/source/")) (revision %texlive-revision))) (file-name (git-file-name "texlive-source" %texlive-version)) (sha256 @@ -378,8 +379,8 @@ of user-specified directories similar to how shells look up executables.") (source (origin (method svn-multi-fetch) (uri (svn-multi-reference - (url (string-append "svn://www.tug.org/texlive/tags/" - "texlive-" version "/Master/")) + (url (string-append %texlive-repository + "tags/texlive-" version "/Master/")) (locations (list "texmf-dist/doc/man/man1/fmtutil-sys.1" "texmf-dist/doc/man/man1/fmtutil-sys.man1.pdf" |