guix-devel
[Top][All Lists]
Advanced

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

Re: Export environment variables only in `guix environment`.


From: Ludovic Courtès
Subject: Re: Export environment variables only in `guix environment`.
Date: Thu, 01 Feb 2018 00:40:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Fis Trivial <address@hidden> skribis:

> * Problem
> The exported environment variables can cause various problems in foreign
> distribution(1)(2). And besides, The long list of environment variables(4)
> injected into user's login shell makes the user's environment impure.
> So, I believe that if I want to run guix safely on a foreign distributions, I
> need to eliminate the need for exporting environment variables from guix to my
> login shell.

Can you clarify what problems you are facing?

I remember one problematic case on foreign distros, that of XDG_DATA_DIRS:

  https://bugs.gnu.org/26202

The environment variable settings that ‘guix package’ produces are here
to ensure that software installed with Guix will work as expected.
Ignoring them wholesale (à la Nix) doesn’t sound like a good idea.  :-)

Thanks,
Ludo’.



reply via email to

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