From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: overriding essential-services Date: Sat, 12 Aug 2017 19:17:34 +0300 Message-ID: <87y3qohiap.fsf@gmail.com> References: <87wp69hmvv.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZ6e-0002nL-7b for help-guix@gnu.org; Sat, 12 Aug 2017 12:17:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgZ6a-0000Km-8l for help-guix@gnu.org; Sat, 12 Aug 2017 12:17:44 -0400 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:36885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgZ6a-0000KQ-15 for help-guix@gnu.org; Sat, 12 Aug 2017 12:17:40 -0400 Received: by mail-lf0-x22c.google.com with SMTP id m86so26245145lfi.4 for ; Sat, 12 Aug 2017 09:17:38 -0700 (PDT) In-Reply-To: <87wp69hmvv.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 11 Aug 2017 22:26:12 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org 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=E2=80=99s needed for offloading. > =E2=80=9C/etc/environment=E2=80=9D is created by the =E2=80=9Csession-env= ironment-service=E2=80=9D > service, which is part of =E2=80=9Cessential-services=E2=80=9D. It is no= t part of > %base-services, so I cannot catch it with =E2=80=9Cmodify-services=E2=80= =9D and extend > it. > > How would I go about extending it? There is probably no convenient way now. > For now I=E2=80=99ll use ~/.ssh/environment and =E2=80=9CPermitUserEnviro= nment=3Dyes=E2=80=9D, but > I think it would anyway be good to have a mechanism to easily change the > contents of /etc/environment. IFIUC the intention of is to provide the extension facility for any service. --=20 Alex