From: Leo Famulari <leo@famulari.name>
To: Alexandru-Sergiu Marton <brown121407@posteo.ro>
Cc: 40985-done@debbugs.gnu.org
Subject: bug#40985: building profile with 1 package
Date: Thu, 30 Apr 2020 14:15:40 -0400 [thread overview]
Message-ID: <20200430181540.GA28119@jasmine.lan> (raw)
In-Reply-To: <C2EP60C36I6N.6CJLI75D9FVY@121408>
On Thu, Apr 30, 2020 at 07:53:21PM +0300, Alexandru-Sergiu Marton wrote:
> For more than a week now, whenever I do a guix pull, it tells me it's
> building a profile with 1 package. If I do other operations, such as
> removing a package, it displays the number of packages installed in my
> profile correctly (180-ish).
>
> Here's the bit that it's outputting at the end of guix pull:
>
> building CA certificate bundle...
> building fonts directory...
> building directory of Info manuals...
> building profile with 1 package...
> building /gnu/store/1lbks2qii5fdwigln34yd4cpvg5gxk7i-inferior-script.scm.drv...
> building package cache...
> building profile with 1 package...
>
> I'm confused by this behaviour. It has not changed in the last two
> `guix system reconfigure`s I did.
Guix can manage multiple profiles, each with their own history, and that
is what's happening here. By default, there are two profiles: the one
that deals with Guix itself, and the one that contains your installed
packages.
`guix pull` uses the former, found at '~/.config/guix/current'.
You can interact with this profile using the '--profile' argument to
`guix package`. For example:
------
$ guix package --profile=$HOME/.config/guix/current --list-generations
Generation 115 Mar 27 2020 03:05:01
guix 260eae7 out /gnu/store/ynihdaa8ripvrw2mzxdslhl3av938jpp-guix-260eae789
[...]
$ guix package --profile=$HOME/.config/guix/current --switch-generation=115
switched from generation 121 to 115
------
On the other hand, when you install packages, Guix uses the default
profile, which is found at ~/.guix-profile.
prev parent reply other threads:[~2020-04-30 18:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 16:53 bug#40985: building profile with 1 package Alexandru-Sergiu Marton
2020-04-30 18:15 ` Leo Famulari [this message]
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=20200430181540.GA28119@jasmine.lan \
--to=leo@famulari.name \
--cc=40985-done@debbugs.gnu.org \
--cc=brown121407@posteo.ro \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).