Env variables in declared in home-fish-configuration not being exported

  • Open
  • quality assurance status badge
Details
One participant
  • Mbk Kamble
Owner
unassigned
Submitted by
Mbk Kamble
Severity
normal
M
M
Mbk Kamble wrote on 26 Jun 2022 01:43
(address . bug-guix@gnu.org)
CAJ7XGSbHCPKDTFh+ZK4bevmj+5ifP1vMii8t=Vz_qVdvNKKXnQ@mail.gmail.com
Hi.
Env variables enumerated in home-fish-configuration are translated into
set VAR VALUE statements in config.fish file. This set VAR in global scope
which is fine. However, for fish shell, if variables are to be exported,
the command syntax is
set -x VAR VALUE

So serialize-fish-env-vars in gnu/home/services/shells.scm needs to be
modified from
#~(string-append "set " #$key " " #$value "\n") to
#~(string-append "set -x" #$key " " #$value "\n")


-Milind
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56226@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56226
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch