gnu: texlive-latex-base: Declare a source file-name.

* gnu/packages/tex.scm (texlive-latex-base)[source]: Declare a source
file-name.
[native-inputs]: Add a source file-name.
This commit is contained in:
Efraim Flashner 2018-03-13 22:39:41 +02:00
parent b63aefe53e
commit 8d514ae753
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -887,6 +887,11 @@ (define-public texlive-latex-base
%texlive-tag "/Master/texmf-dist/" %texlive-tag "/Master/texmf-dist/"
dir)) dir))
(revision %texlive-revision))) (revision %texlive-revision)))
(file-name (string-append "texlive-generic-"
(last (string-split
(string-drop-right dir 1) #\/))
"-" (number->string %texlive-revision)
"-checkout"))
(sha256 (base32 hash)))))) (sha256 (base32 hash))))))
(package (package
(name "texlive-latex-base") (name "texlive-latex-base")
@ -894,6 +899,7 @@ (define-public texlive-latex-base
(source (origin (source (origin
(method svn-fetch) (method svn-fetch)
(uri (texlive-ref "latex" "base")) (uri (texlive-ref "latex" "base"))
(file-name (string-append name "-" version "-checkout"))
(sha256 (sha256
(base32 (base32
"1h9pir2hz6i9avc4lrl733p3zf4rpkg8537x1zdbhs91hvhikw9k")))) "1h9pir2hz6i9avc4lrl733p3zf4rpkg8537x1zdbhs91hvhikw9k"))))