unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mbk Kamble <mbkadsatx@gmail.com>
To: 56226@debbugs.gnu.org
Subject: bug#56226: Env variables in declared in home-fish-configuration not being exported
Date: Sat, 25 Jun 2022 18:43:37 -0500	[thread overview]
Message-ID: <CAJ7XGSbHCPKDTFh+ZK4bevmj+5ifP1vMii8t=Vz_qVdvNKKXnQ@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2022-06-26  1:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ7XGSbHCPKDTFh+ZK4bevmj+5ifP1vMii8t=Vz_qVdvNKKXnQ@mail.gmail.com' \
    --to=mbkadsatx@gmail.com \
    --cc=56226@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).