all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56226: Env variables in declared in home-fish-configuration not being exported
@ 2022-06-25 23:43 Mbk Kamble
  0 siblings, 0 replies; only message in thread
From: Mbk Kamble @ 2022-06-25 23:43 UTC (permalink / raw)
  To: 56226

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

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 #2: Type: text/html, Size: 609 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-26  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25 23:43 bug#56226: Env variables in declared in home-fish-configuration not being exported Mbk Kamble

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.