all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to "Use PROFILE instead of the user’s default profile."?
@ 2018-06-21  2:03 George Clemmer
  2018-06-21  9:32 ` Tom Balzer
  2018-06-21 10:41 ` Ricardo Wurmus
  0 siblings, 2 replies; 8+ messages in thread
From: George Clemmer @ 2018-06-21  2:03 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-06-21 17:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-21  2:03 How to "Use PROFILE instead of the user’s default profile."? George Clemmer
2018-06-21  9:32 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.