guix-devel
[Top][All Lists]
Advanced

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

Re: service extensions to guix-service-type


From: Ludovic Courtès
Subject: Re: service extensions to guix-service-type
Date: Mon, 18 Apr 2022 21:48:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi Justin,

Justin Veilleux <terramorpha@cock.li> skribis:

> For my os.scm, I want to create a service which encapsulates the
> process of adding channels to the global channels file, adding
> substitute urls to the daemon and also adding authorized keys to the
> daemon. With the service extension system, I was able to do the first
> thing by extending `special-files-service-type`. However, I cannot do
> the last two things, because the current definition of
> guix-service-type only exposes chroot-directories (what is the use
> case for this, btw?).

It used to be that qemu-binfmt support for Guix relied on extending
‘guix-service-type’ with extra “chroot directories”; this was changed in
commit 77c2f4e2068ebec3f384c826c5a99785125ff72c, so this extension
mechanism is no longer used.

Perhaps we could now use the extension point for the purposes you
suggest?

Alternatively (or in addition to that), Brice (Cc’d) proposed adding a
‘channels’ field to <guix-configuration>:

  https://issues.guix.gnu.org/49610

Thanks,
Ludo’.



reply via email to

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