From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Environment variables in Guix and GuixSD Date: Sun, 4 Nov 2018 08:13:40 +0100 Message-ID: <7d565897-cc97-6dc1-7663-8f140e1b77fd@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJCbZ-0004bu-C0 for guix-devel@gnu.org; Sun, 04 Nov 2018 02:13:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJCbT-0001Gz-8C for guix-devel@gnu.org; Sun, 04 Nov 2018 02:13:53 -0500 Received: from mx1.riseup.net ([198.252.153.129]:41308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJCbR-0001AC-95 for guix-devel@gnu.org; Sun, 04 Nov 2018 02:13:47 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 66DB01A01F5 for ; Sun, 4 Nov 2018 00:13:43 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 90594E6BE6 for ; Sun, 4 Nov 2018 00:13:42 -0700 (PDT) Content-Language: en-US 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: guix-devel@gnu.org Hi 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. What do you think? E.g.: $ guix check Found 10 needed environment variables in the database. Checking current user environment... Found 1 potential problem: "/user/.guix-profile/bin" is missing from $PATH This is needed to find binaries bla bla. See how to set this variable in the manual section. -- Cheers Swedebugia