From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Environment variables in Guix and GuixSD Date: Tue, 06 Nov 2018 12:32:13 +0100 Message-ID: <877ehq5tmq.fsf@gnu.org> References: <7d565897-cc97-6dc1-7663-8f140e1b77fd@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJzaj-0008Jv-Qk for guix-devel@gnu.org; Tue, 06 Nov 2018 06:32:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJzah-0006J3-MS for guix-devel@gnu.org; Tue, 06 Nov 2018 06:32:17 -0500 In-Reply-To: <7d565897-cc97-6dc1-7663-8f140e1b77fd@riseup.net> (swedebugia's message of "Sun, 4 Nov 2018 08:13:40 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel@gnu.org Hello, swedebugia skribis: > I noticed during my years of reading this list that difficulties > stemming from wrong environment variables or lack of knowledge of the > importance of these is VERY common among (new) guix users. > > To help everyone I wonder if it is possible for Guix to automatically > register all these suggested changes to variables that happen after > installing a package and check whether the user did his job of > managing this correctly and help if not. Upon completion, =E2=80=98guix package=E2=80=99 tells which additional envi= ronment variables may need to be defined. There=E2=80=99s also =E2=80=98guix packa= ge --search-paths=E2=80=99 and the generated =E2=80=98etc/profile=E2=80=99 fil= e. Do you think we need something in addition to this? I was under the impression that Guix does better than the alternatives when it comes to environment variable settings, but of course, I=E2=80=99m biased. ;-) Thank you, Ludo=E2=80=99.