From: paul <goodoldpaul@autistici.org>
To: help-guix@gnu.org
Subject: Re: How to add service(s) from a service?
Date: Sun, 15 Oct 2023 17:32:24 +0200 [thread overview]
Message-ID: <02407007-a020-3762-64eb-b0ba2962843b@autistici.org> (raw)
In-Reply-To: <ZSsc2ZG63IViEd7M@ws>
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
prev parent reply other threads:[~2023-10-15 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-14 22:57 How to add service(s) from a service? Tomas Volf
2023-10-15 15:32 ` paul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02407007-a020-3762-64eb-b0ba2962843b@autistici.org \
--to=goodoldpaul@autistici.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).