all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luis Felipe via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 46803@debbugs.gnu.org
Subject: bug#46803: User manual does not explain Profiles (nor GUIX_PROFILE)
Date: Sat, 27 Feb 2021 18:11:47 +0000	[thread overview]
Message-ID: <QzoPJfAGvzoDDHVOtGMJK0mrkAvD3M-u2DPzG_9Rqb0KGc3ImYQm2O96jUEVVaBoe7l_lgoTau6ROr5Q2vw69T5pqQCqiw7FeuhhkVgwiGg=@protonmail.com> (raw)
In-Reply-To: <877dmube5x.fsf@nckx>

On Friday, February 26, 2021 11:30 PM, Tobias Geerinckx-Rice <me@tobias.gr> wrote:

> Luis Felipe,
>
> I think that would be very helpful. I'm trying to think of a concise, correct, but actually useful definition of profiles for someone not already familiar with them or Guix.
>
> Out of curiosity: how do you intuitively understand profiles, as someone who's used Guix for a while?

I think I didn't intuitively understand profiles. I think I actually started using them last year (apart from the user profile) after reading the Guix Profiles in Practice recipe, which made things clearer to me (but I don't think I grok the concept).

So, right now, I see a profile like a collection of packages that you can activate/deactivate in your environment by setting the GUIX_PROFILE environment variable and sourcing its profile file.


> Luis Felipe via Bug reports for GNU Guix 写道:
>
> > [...] what is the GUIX_PROFILE variable, does it accept a single
> > path to a profile or more, and some use cases and > examples. [...]
>
> I don't think we should document GUIX_PROFILE. It's not part of the definition of Guix profiles. It should not matter to users nor should they rely on previously observed behaviour. AIUI there are no supported ‘use cases’, beyond copy-pasting Guix error messages...

In the Guix Profiles in Practice recipe, for example, you are instructed to set GUIX_PROFILE and then use it when sourcing the profile. So I thought it deserved an entry in the index, since it is mentioned so often when working with profiles.

I think I was expecting something like:

GUIX_PROFILE
  This is an environment variable that you can set to
  [...]. Its value is an absolute path to a Guix profile.
  See Profiles for more information.

Now I'm confused.. :)





  reply	other threads:[~2021-02-27 18:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26 21:24 bug#46803: User manual does not explain Profiles (nor GUIX_PROFILE) Luis Felipe via Bug reports for GNU Guix
2021-02-26 23:30 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-02-27 18:11   ` Luis Felipe via Bug reports for GNU Guix [this message]
2021-03-01  9:59   ` Ludovic Courtès
2021-03-01 10:28   ` zimoun
2021-03-14 10:56     ` Ludovic Courtès
2021-03-15  9:43       ` zimoun
2021-03-17 13:54         ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='QzoPJfAGvzoDDHVOtGMJK0mrkAvD3M-u2DPzG_9Rqb0KGc3ImYQm2O96jUEVVaBoe7l_lgoTau6ROr5Q2vw69T5pqQCqiw7FeuhhkVgwiGg=@protonmail.com' \
    --to=bug-guix@gnu.org \
    --cc=46803@debbugs.gnu.org \
    --cc=luis.felipe.la@protonmail.com \
    --cc=me@tobias.gr \
    /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.
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.