help-guix
[Top][All Lists]
Advanced

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

Re: How to add service(s) from a service?


From: paul
Subject: Re: How to add service(s) from a service?
Date: Sun, 15 Oct 2023 17:32:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

Hello Tomas,

On 10/15/23 00:57, Tomas Volf wrote:
However, I am unsure how to do this for services.  Would anyone have any ideas
how to do this?

I may be wrong, I believe you can't add services from within a service but you can extend them (extension entails instantiation iiuc): so in your example SERVICE should expose an extension api and my-service-service-type should make use of it through a (service-extension ...) call.

Hope this helps,

giacomo




reply via email to

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