GNU bug report logs - #56226
Env variables in declared in home-fish-configuration not being exported

Previous Next

Package: guix;

Reported by: Mbk Kamble <mbkadsatx <at> gmail.com>

Date: Sun, 26 Jun 2022 01:39:02 UTC

Severity: normal

To reply to this bug, email your comments to 56226 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56226; Package guix. (Sun, 26 Jun 2022 01:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mbk Kamble <mbkadsatx <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 26 Jun 2022 01:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mbk Kamble <mbkadsatx <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Env variables in declared in home-fish-configuration not being
 exported
Date: Sat, 25 Jun 2022 18:43:37 -0500
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.