GNU bug report logs - #60106
[Shepherd 0.9.3] ‘system*’ replacement cannot be passed environment variables

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Thu, 15 Dec 2022 22:48:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 60106 <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: 60106 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr
Subject: [Shepherd 0.9.3] ‘system*’ replacement cannot be passed environment variables
Date: Thu, 22 Dec 2022 16:17:59 +0000
> I think we’ll have to add a parameter to ‘spawn-command’ to specify
> environment variables.
> 
> Ludo’.
If you do this, can you add an #:append? flag which adds environment 
variables to the inherited environment instead of specifying the 
variables declaratively? It can be #f by default.

It would be very useful for me using the shepherd as init on a foreign 
distro, so I don't have to use the `env` command.




This bug report was last modified 2 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.