bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56226: Env variables in declared in home-fish-configuration not bein


From: Mbk Kamble
Subject: bug#56226: Env variables in declared in home-fish-configuration not being exported
Date: Sat, 25 Jun 2022 18:43:37 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]