summary refs log tree commit diff
path: root/gnu/home
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-06-29 07:53:33 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2022-06-29 20:40:36 +0200
commit75a520cca62ea105a6fbb7f1d74b3a4ef439cd73 (patch)
tree05ef1878fb0b70b22857fbfb23799e4d28562992 /gnu/home
parentc92e1b3b3170655fc6369a77ad3635fe219a537a (diff)
downloadguix-75a520cca62ea105a6fbb7f1d74b3a4ef439cd73.tar.gz
home: services: shells: Export Fish environment variables.
Variables set in the Fish configuration weren't previously being
exported.

* gnu/home/services/shells.scm (serialize-fish-env-vars): Output the
`set -x` command instead of `set`.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/shells.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/home/services/shells.scm b/gnu/home/services/shells.scm
index fd5a66090d..dda80736b1 100644
--- a/gnu/home/services/shells.scm
+++ b/gnu/home/services/shells.scm
@@ -555,9 +555,9 @@ with text blocks from other extensions and the base service."))
                ((key . #f)
                 "")
                ((key . #t)
-                #~(string-append "set " #$key "\n"))
+                #~(string-append "set -x " #$key "\n"))
                ((key . value)
-                #~(string-append "set " #$key " "  #$value "\n")))
+                #~(string-append "set -x " #$key " "  #$value "\n")))
              val)))
 
 (define-configuration home-fish-configuration