guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#46031] services: cuirass: Add "simple-cuirass-services".


From: Jonathan Brielmaier
Subject: [bug#46031] services: cuirass: Add "simple-cuirass-services".
Date: Tue, 2 Feb 2021 23:43:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.6.1

On 29.01.21 12:39, Mathieu Othacehe wrote:

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---

Thanks Mathieu. I think we can merge and I'll try it then. If we found a
nicer solution we can still change it...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]