mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: texlive-union: Implement in terms of texlive-base.
* gnu/packages/tex.scm (texlive-union): Inherit from texlive-base.
This commit is contained in:
parent
bfcb9d4dbf
commit
d7da23721a
1 changed files with 5 additions and 20 deletions
|
@ -1866,31 +1866,15 @@ (define-public texlive-base
|
||||||
'()
|
'()
|
||||||
default-packages)))))
|
default-packages)))))
|
||||||
|
|
||||||
|
;; For use in package definitions only
|
||||||
(define-public texlive-union
|
(define-public texlive-union
|
||||||
(lambda* (#:optional (packages '()))
|
(lambda* (#:optional (packages '()))
|
||||||
"Return 'texlive-union' package which is a union of PACKAGES and the
|
"Return 'texlive-union' package which is a union of PACKAGES and the
|
||||||
standard LaTeX packages."
|
standard LaTeX packages."
|
||||||
(let ((default-packages
|
(let ((default-packages (match (package-propagated-inputs texlive-base)
|
||||||
(list texlive-bin
|
(((labels packages) ...) packages))))
|
||||||
texlive-dvips
|
(package (inherit texlive-base)
|
||||||
texlive-fontname
|
|
||||||
texlive-fonts-cm
|
|
||||||
texlive-fonts-latex
|
|
||||||
texlive-metafont-base
|
|
||||||
texlive-latex-base
|
|
||||||
;; LaTeX packages from the "required" set.
|
|
||||||
texlive-latex-amsmath
|
|
||||||
texlive-latex-amscls
|
|
||||||
texlive-latex-babel
|
|
||||||
texlive-generic-babel-english
|
|
||||||
texlive-latex-cyrillic
|
|
||||||
texlive-latex-graphics
|
|
||||||
texlive-latex-psnfss
|
|
||||||
texlive-latex-tools)))
|
|
||||||
(package
|
|
||||||
(name "texlive-union")
|
(name "texlive-union")
|
||||||
(version (number->string %texlive-revision))
|
|
||||||
(source #f)
|
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((guix build union)
|
'(#:modules ((guix build union)
|
||||||
|
@ -1954,6 +1938,7 @@ (define-public texlive-union
|
||||||
'()
|
'()
|
||||||
(append default-packages packages)))))))
|
(append default-packages packages)))))))
|
||||||
|
|
||||||
|
;; For use in package definitions only
|
||||||
(define-public texlive-tiny
|
(define-public texlive-tiny
|
||||||
(package
|
(package
|
||||||
(inherit (texlive-union))
|
(inherit (texlive-union))
|
||||||
|
|
Loading…
Reference in a new issue