all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#41704] [PATCH] services: nix: Set NIX_CONF_DIR environment variable.
@ 2020-06-04  7:01 Peng Mei Yu
  2020-06-04  9:09 ` [bug#41704] [PATCH V2] " Peng Mei Yu
  0 siblings, 1 reply; 6+ messages in thread
From: Peng Mei Yu @ 2020-06-04  7:01 UTC (permalink / raw)
  To: 41704; +Cc: Peng Mei Yu

* gnu/services/nix.scm (nix-shepherd-service): Set NIX_CONF_DIR environment
variable to "/etc/nix".
---
 gnu/services/nix.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/services/nix.scm b/gnu/services/nix.scm
index dfe33991d0..2cdddd8866 100644
--- a/gnu/services/nix.scm
+++ b/gnu/services/nix.scm
@@ -96,7 +96,9 @@ GID."
     (documentation "Run nix-daemon.")
     (requirement '())
     (start #~(make-forkexec-constructor
-              (list (string-append #$nix "/bin/nix-daemon"))))
+              (list (string-append #$nix "/bin/nix-daemon"))
+              #:environment-variables
+              '("NIX_CONF_DIR=/etc/nix")))
     (respawn? #f)
     (stop #~(make-kill-destructor)))))
 
-- 
2.26.2





^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-16 10:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-04  7:01 [bug#41704] [PATCH] services: nix: Set NIX_CONF_DIR environment variable Peng Mei Yu
2020-06-04  9:09 ` [bug#41704] [PATCH V2] " Peng Mei Yu
2020-06-09  7:52   ` Ludovic Courtès
2020-06-14  8:10     ` Peng Mei Yu
2020-06-15 11:08       ` Tobias Geerinckx-Rice via Guix-patches via
2020-06-16 10:58         ` bug#41704: " Peng Mei Yu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.