From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Clemmer Subject: How to "Use PROFILE instead of the =?utf-8?Q?user=E2=80=99s?= default profile."? Date: Wed, 20 Jun 2018 22:03:59 -0400 Message-ID: <87bmc4aoa8.fsf@gmail.com> 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]:41074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVoxE-0003EM-C6 for help-guix@gnu.org; Wed, 20 Jun 2018 22:04:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVox8-0001n5-DD for help-guix@gnu.org; Wed, 20 Jun 2018 22:04:05 -0400 Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:42084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVox8-0001mx-7V for help-guix@gnu.org; Wed, 20 Jun 2018 22:04:02 -0400 Received: by mail-qt0-x231.google.com with SMTP id y31-v6so1515828qty.9 for ; Wed, 20 Jun 2018 19:04:02 -0700 (PDT) Received: from sysi33 (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id r2-v6sm2747446qtj.54.2018.06.20.19.04.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 19:04:00 -0700 (PDT) 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: help-guix I am trying to understand and use Guix profiles. In (guix) Invoking guix package it says ... =E2=80=98--profile=3DPROFILE=E2=80=99 =E2=80=98-p PROFILE=E2=80=99 Use PROFILE instead of the user=E2=80=99s default profile. Because I want to use znc *instead* of the packages in my user=E2=80=99s de= fault profile, I did ... guix package -p znc -i znc ... then I read this in znc/etc/profile ... # Source this file to define all the relevant environment variables in Bash # for this profile. You may want to define the 'GUIX_PROFILE' environment # variable to point to the "visible" name of the profile, like this: # # GUIX_PROFILE=3D/path/to/profile ; \ # source /path/to/profile/etc/profile ... so I did ... GUIX_PROFILE=3Dznc source $GUIX_PROFILE/etc/profile I expected 'which' now to find znc but not my user=E2=80=99s default profile packages. Instead it finds znc *plus* my user=E2=80=99s default profile packages. So it looks like I am using the "union" of the znc and user=E2=80=99s defau= lt profiles as opposed to using the znc PROFILE *instead* of the user=E2=80=99s default profile. Is that a correct understanding of what is happening? Is that how it is supposed to work? If so, how do I "Use my znc PROFILE *instead* of my user=E2=80=99s default profile?" TIA - George