[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46031] services: cuirass: Add "simple-cuirass-services".
From: |
Mathieu Othacehe |
Subject: |
[bug#46031] services: cuirass: Add "simple-cuirass-services". |
Date: |
Fri, 29 Jan 2021 12:39:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hello Jonathan,
> (services
> (cons*
> (service a-service-type)
> [...]
> (service z-service-type)
> (modify-services %base-services
> (guix-service-type config =>
> (guix-configuration
> (inherit config)
> (extra-options '("--cores=x")))))))
That would impose to write something like:
--8<---------------cut here---------------start------------->8---
(services
(append
(cons*
(service a-service-type)
[...]
(service z-service-type)
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(extra-options '("--cores=x"))))))
(simple-cuirass-services
(simple-cuirass-configuration
(build 'all)
(channels (cons (channel
(name 'my-guix)
(url "https://my-git-repo/guix.git"))
%default-channels))))))
--8<---------------cut here---------------end--------------->8---
which is admittedly not that elegant. The problem I'd like to hide that
"postgresql-service-type" and "postgresql-role-service-type" are
required by Cuirass. Any idea?
Thanks,
Mathieu