~ruther/guix-local

f66fa5f9 — Brian Cully 3 years ago
gnu: services: Revert to deleting and updating all matching services

This patch reverts the behavior introduced in
181951207339508789b28ba7cb914f983319920f which caused ‘modify-services’
clauses to only match a single instance of a service.

We will now match all service instances when doing a deletion or update, while
still raising an exception when trying to match against a service that does
not exist in the services list, or which was deleted explicitly by a ‘delete’
clause (or an update clause that returns ‘#f’ for the service).

Fixes: #64106

* gnu/services.scm (%modify-services): New procedure.
(modify-services): Use it.
(apply-clauses): Add DELETED-SERVICES argument, change to modify one service
at a time.
* tests/services.scm
("modify-services: delete then modify")
("modify-services: modify then delete")
("modify-services: delete multiple services of the same type")
("modify-services: modify multiple services of the same type"): New tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
69f6edc1 — Maxim Cournoyer 3 years ago
build: Add missing guix-gc.timer file to binary tarball.

Partially fixes <https://issues.guix.gnu.org/65117>.

* nix/local.mk (nodist_systemdservice_DATA): Add etc/guix-gc.timer.
f5c4db45 — Nicolas Goaziou 3 years ago
gnu: texlive-tpslifonts: Remove duplicate definition.

* gnu/packages/tex.scm (texlive-texmate): Remove duplicate variable.
5ad556ab — Nicolas Goaziou 3 years ago
gnu: texlive-isodate: Remove duplicate definition.

* gnu/packages/tex.scm (texlive-isodate): Remove duplicate variable.
84f1b54e — Nicolas Goaziou 3 years ago
gnu: texlive-glossaries-extra: Remove duplicate definition.

* gnu/packages/tex.scm (texlive-glossaries-extra): Remove duplicate
definition.
21f2ef04 — Nicolas Goaziou 3 years ago
gnu: Add texlive-scheme-full.

* gnu/packages/tex.scm (texlive-scheme-full): New variable.
223b7250 — Nicolas Goaziou 3 years ago
gnu: Add texlive-collection-latexextra.

* gnu/packages/tex.scm (texlive-collection-latexextra): New variable.
45ae6604 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zwpagelayout.

* gnu/packages/tex.scm (texlive-zwpagelayout): New variable.
321b8e85 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zwgetfdate.

* gnu/packages/tex.scm (texlive-zwgetfdate): New variable.
3c4c2fd1 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zref-vario.

* gnu/packages/tex.scm (texlive-zref-vario): New variable.
a6486711 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zref-clever.

* gnu/packages/tex.scm (texlive-zref-clever): New variable.
cdbe4dd7 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zref-check.

* gnu/packages/tex.scm (texlive-zref-check): New variable.
158abda4 — Nicolas Goaziou 3 years ago
gnu: Add texlive-ziffer.

* gnu/packages/tex.scm (texlive-ziffer): New variable.
e9dd1385 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zennote.

* gnu/packages/tex.scm (texlive-zennote): New variable.
a77223e7 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zed-csp.

* gnu/packages/tex.scm (texlive-zed-csp): New variable.
221a5832 — Nicolas Goaziou 3 years ago
gnu: Add texlive-zebra-goodies.

* gnu/packages/tex.scm (texlive-zebra-goodies): New variable.
9857fb99 — Nicolas Goaziou 3 years ago
gnu: Add texlive-yplan.

* gnu/packages/tex.scm (texlive-yplan): New variable.
3446b61a — Nicolas Goaziou 3 years ago
gnu: Add texlive-ycbook.

* gnu/packages/tex.scm (texlive-ycbook): New variable.
7ce49789 — Nicolas Goaziou 3 years ago
gnu: Add texlive-yaletter.

* gnu/packages/tex.scm (texlive-yaletter): New variable.
c5b84575 — Nicolas Goaziou 3 years ago
gnu: Add texlive-yagusylo.

* gnu/packages/tex.scm (texlive-yagusylo): New variable.
Next