help-guix
[Top][All Lists]
Advanced

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

Re: overriding essential-services


From: Alex Kost
Subject: Re: overriding essential-services
Date: Sat, 12 Aug 2017 19:17:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Ricardo Wurmus (2017-08-11 22:26 +0200) wrote:

> Hi Guix,
>
> I want to make sure that /etc/environment includes GUILE_LOAD_PATH and
> GUILE_LOAD_COMPILED_PATH, because that’s needed for offloading.
> “/etc/environment” is created by the “session-environment-service”
> service, which is part of “essential-services”.  It is not part of
> %base-services, so I cannot catch it with “modify-services” and extend
> it.
>
> How would I go about extending it?

There is probably no convenient way now.

> For now I’ll use ~/.ssh/environment and “PermitUserEnvironment=yes”, but
> I think it would anyway be good to have a mechanism to easily change the
> contents of /etc/environment.

IFIUC the intention of <https://bugs.gnu.org/27155> is to provide the
extension facility for any service.

-- 
Alex



reply via email to

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