[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Black magic to pass around environment variables?
From: |
raingloom |
Subject: |
Re: Black magic to pass around environment variables? |
Date: |
Sun, 14 Mar 2021 00:49:35 +0100 |
On Sat, 13 Mar 2021 10:05:44 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:
> raingloom <raingloom@riseup.net> writes:
>
> > Motivation:
> > xfce4-terminal runs as a terminal and doesn't propagate environment
> > variables, which makes it a bit cumbersome to use it with complex
> > `guix environment` setups. While an upstream fix would be nice,
> > this is a general problem and one that shouldn't require special
> > handling in every application.
>
> I’m sorry, I don’t understand the problem. Could you perhaps provide
> an example to illustrate the issue?
Sorry, I wrote that in a rather tired state. What I meant to write was:
xfce4-terminal runs as a **server** and when it opens a new window,
that inherits its environment from the server, not from the calling
environment.
What I want to do is open a new terminal from a guix environment shell
that has the exact same environment variables.
> What environment variables should be propagated from where to where?
All of them, that's the point.