From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Bauer Subject: Re: Package recommended environment variables Date: Thu, 16 May 2019 08:27:55 -0500 Message-ID: <20190516132755.GA2637@rubic.com> References: <87tvduhcgn.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRGQU-0004Qj-Ax for help-guix@gnu.org; Thu, 16 May 2019 09:28:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRGQR-0008JP-9y for help-guix@gnu.org; Thu, 16 May 2019 09:28:02 -0400 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:45276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRGQR-0008FL-67 for help-guix@gnu.org; Thu, 16 May 2019 09:27:59 -0400 Received: by mail-yb1-xb2f.google.com with SMTP id v2so1228329ybm.12 for ; Thu, 16 May 2019 06:27:58 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87tvduhcgn.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice Cc: "help-guix@gnu.org" I've put the following in my .profile: GUIX_PROFILE="$HOME/.guix-profile" if [ -d $GUIX_PROFILE ] || [ -h $GUIX_PROFILE ] ; then export GUIX_PROFILE export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale/ source $GUIX_PROFILE/etc/profile fi I have it set up this way so my .profile is portable between guix and non-guix systems. GUIX_LOCPATH was added to get rid of warning messages. Any suggestions for improvements are welcome. Thanks. -Jeff