From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Eliminate environment variable hints? Date: Tue, 19 Feb 2019 11:14:51 +0100 Message-ID: <20190219101451.73bxaktu7cxryswq@thebird.nl> References: <87a7iswyki.fsf@elephly.net> <20190218221809.GA12263@jurong> <20190219091726.gp6v63jd3kqw3v6z@thebird.nl> <87sgwkunoy.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw2ZG-0007HT-2D for guix-devel@gnu.org; Tue, 19 Feb 2019 05:24:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw2ZE-0001zs-Rs for guix-devel@gnu.org; Tue, 19 Feb 2019 05:24:01 -0500 Received: from mail.thebird.nl ([94.142.245.5]:38800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw2ZE-0001zd-KT for guix-devel@gnu.org; Tue, 19 Feb 2019 05:24:00 -0500 Content-Disposition: inline In-Reply-To: <87sgwkunoy.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel@gnu.org On Tue, Feb 19, 2019 at 10:34:05AM +0100, Ricardo Wurmus wrote: > > Pjotr Prins writes: > > > Just running '. $PROFILE/etc/profile' is a bit dangerous. Especially on > > HPC machines. > > > > I guix-notes I also suggest to clear the other environment settings > > first with > > > > env -i /bin/bash --login --noprofile --norc > > You can do this all in one go by passing etc/profile as the init file > for bash in this invocation of env. No need to separately source > etc/profile then! Maybe the output of guix package -i could be a number of pointers to documentation instead? Or at least, after the current recommended settings. Pj.