unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Trev <trev@trevdev.ca>
To: GUIX Help <help-guix@gnu.org>
Subject: Guix home packages and garbage collection
Date: Mon, 27 Jun 2022 10:19:28 -0700	[thread overview]
Message-ID: <87leti6n33.fsf@codinator.mail-host-address-is-not-set> (raw)

[-- Attachment #1: Type: text/plain, Size: 2200 bytes --]

Hey There,

I am not sure if I have some sort of bug, or if this is how guix home is
intended to work. The short problem that I am having is that every time
I do a guix gc, the next time I feel the need to do a guix home
reconfigure for some petty change such as an environment variable, guix
feels the need to download all of my packages and re-compile the
packages that are built from source.

I am feeling like garbage collection, or guix home are more trouble than
they're worth as I have to sit there for 30+ minutes just to see if some
small thing in my profile has changed.

Based on the wonderful help from the people in IRC I had thought:

1. It doesn't matter if I install using guix package or guix home, the
links to the relevant derivations should remain the same. Whether this
has any bearing on my "problem" remains to be seen.

2. Unless some package is needed for the "building", it should have
little bearing on the currently installed package state. This is to say,
guix home reconfigure should not re-download and build packages ad
nauseam just because guix gc cleared some build dependencies for
packages that are already installed and working.

3. Perhaps grafts have something to do with this, but I have done tests
in rapid succession to reproduce the problem. I think maybe grafts
haven't had a chance to be seen after a fresh guix pull prior to
replicating the problem.

Acting on some troubleshooting advice I had deleted my profiles for my
user, and garbage collected everything. I then ran a guix pull and and a
guix home reconfigure to restore my user from my current configuration
with a clean slate. There are no packages installed with guix package at
this point, and no guix package generations. The "problem" still
persists.

May I get some idea as to whether or not I have an actual problem with
guix home here or if this is the current intended side-effect of guix gc
with packages installed via guix home? This way I can migrate away from
guix home and leave that alone until it matures, or perhaps just opt
out.

Thank you for the amazing software!

-- 

Trev : 0FB7 D06B 4A2A F07E AD5B  1169 183B 6306 8AA1 D206

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

             reply	other threads:[~2022-06-27 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27 17:19 Trev [this message]
2022-06-27 17:39 ` Guix home packages and garbage collection (
2022-06-27 18:11   ` Trev
2022-06-27 22:44     ` Trev

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=87leti6n33.fsf@codinator.mail-host-address-is-not-set \
    --to=trev@trevdev.ca \
    --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).