[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27296: [PATCH 33/35] gnu: Add texlive-union.
From: |
Ludovic Courtès |
Subject: |
bug#27296: [PATCH 33/35] gnu: Add texlive-union. |
Date: |
Fri, 09 Jun 2017 16:57:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Ricardo Wurmus <address@hidden> skribis:
> * gnu/packages/tex.scm (texlive-union): New procedure.
[...]
> +(define-public texlive-union (lambda* (#:optional (packages '()))
> + "Return 'texlive-union' package which is a union of PACKAGES and the
> +standard LaTeX packages."
> + (let ((default-packages
> + (list texlive-bin
> + texlive-dvips
> + texlive-fonts-cm
(Indentation is unusual here.)
Does ‘texlive-union’ become the user interface to install LaTeX, along
with ‘texlive-tiny’ and maybe a ‘texlive-full’ meta-package?
Do you think this could be turned into a profile hook, somehow, such
that users who install a bunch of ‘texlive-*’ packages would immediately
get something that works without having to write Scheme code that calls
‘texlive-union’?
> + (license (map package-license (append default-packages packages)))))))
‘package-license’ can return either a <license> or a list, so ideally
we’d concatenate the lists. :-)
(fold (lambda (package result)
(match (package-license package)
((lst ...)
(append lst result))
((? license? license)
(cons license result))))
'()
(append …))
Otherwise LGTM!
Ludo’.
- bug#27296: [PATCH 22/35] gnu: Add texlive-latex-tools., (continued)
- bug#27296: [PATCH 22/35] gnu: Add texlive-latex-tools., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 23/35] gnu: Add texlive-latex-url., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 24/35] gnu: Add texlive-latex-l3kernel., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 25/35] gnu: Add texlive-latex-l3packages., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 26/35] gnu: Add texlive-latex-fontspec., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 27/35] gnu: Add texlive-luatex-lualibs., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 31/35] gnu: texlive-latex-cyrillic., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 30/35] gnu: Add texlive-latex-babel., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 28/35] gnu: Add texlive-latex-amsmath., Ricardo Wurmus, 2017/06/09
- bug#27296: [PATCH 33/35] gnu: Add texlive-union., Ricardo Wurmus, 2017/06/09
bug#27296: [PATCH 35/35] guix: Add texlive importer., Ricardo Wurmus, 2017/06/09
bug#27296: [PATCH 34/35] gnu: Add texlive-tiny., Ricardo Wurmus, 2017/06/09
bug#27296: [PATCH 29/35] gnu: Add texlive-latex-amscls., Ricardo Wurmus, 2017/06/09