From: George Clemmer <myglc2@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: How to "Use PROFILE instead of the user’s default profile."?
Date: Wed, 20 Jun 2018 22:03:59 -0400 [thread overview]
Message-ID: <87bmc4aoa8.fsf@gmail.com> (raw)
I am trying to understand and use Guix profiles. In (guix) Invoking guix
package it says ...
‘--profile=PROFILE’
‘-p PROFILE’
Use PROFILE instead of the user’s default profile.
Because I want to use znc *instead* of the packages in my user’s default
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=/path/to/profile ; \
# source /path/to/profile/etc/profile
... so I did ...
GUIX_PROFILE=znc
source $GUIX_PROFILE/etc/profile
I expected 'which' now to find znc but not my user’s default profile
packages. Instead it finds znc *plus* my user’s default profile
packages.
So it looks like I am using the "union" of the znc and user’s default
profiles as opposed to using the znc PROFILE *instead* of the user’s
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’s default
profile?"
TIA - George
next reply other threads:[~2018-06-21 2:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-21 2:03 George Clemmer [this message]
2018-06-21 9:32 ` How to "Use PROFILE instead of the user’s default profile."? Tom Balzer
2018-06-21 10:41 ` Ricardo Wurmus
2018-06-21 14:01 ` George Clemmer
2018-06-21 14:08 ` Ricardo Wurmus
2018-06-21 14:56 ` George Clemmer
2018-06-21 15:59 ` Ricardo Wurmus
2018-06-21 16:52 ` George Clemmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmc4aoa8.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).