unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tomas Volf <~@wolfsden.cz>
To: 45mg <45mg.writes@gmail.com>
Cc: "Guix Devel" <guix-devel@gnu.org>,
	"Christopher Baines" <mail@cbaines.net>,
	"Ian Eure" <ian@retrospec.tv>,
	"František Boháček" <bohacfr2@fel.cvut.cz>
Subject: Re: Why does `system reconfigure` need to `pull`?
Date: Fri, 27 Dec 2024 22:29:31 +0100	[thread overview]
Message-ID: <87h66o4xxg.fsf@wolfsden.cz> (raw)
In-Reply-To: <87v7v4290e.fsf@gmail.com> (45mg.writes@gmail.com's message of "Fri, 27 Dec 2024 14:58:25 -0500")

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


Hello,

45mg <45mg.writes@gmail.com> writes:

> [..]
>
> As I suspected, the issue does not show up until you add additional
> channels in your configuration file - in the case of the configuration
> below, that means adding the `my-channels` definition and the
> `modify-services` form. When you reconfigure after doing that, you
> should see it updating the channel repositories as I originally
> described.
>
> [..]
>                          (guix (guix-for-channels my-channels)))))))

`guix-for-channels' does not cache the computation, that is a known
defect.  There are workarounds to make it cache, but they all suck in
one way or another.

For single-user system, you can just not use it, and access the
additional channels from your guix-pulled profile.

Have a nice day,
Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

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

  reply	other threads:[~2024-12-27 21:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 14:44 Why does `system reconfigure` need to `pull`? 45mg
2024-12-26 18:41 ` Ian Eure
2024-12-26 21:48 ` Christopher Baines
2024-12-27 19:58 ` 45mg
2024-12-27 21:29   ` Tomas Volf [this message]
2024-12-28  7:14     ` Docs: Clarify use-cases of `guix-for-channels`? 45mg
2024-12-28 12:56       ` Tomas Volf
  -- strict thread matches above, loose matches on Subject: below --
2024-12-26 12:56 Why does `system reconfigure` need to `pull`? František Boháček

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=87h66o4xxg.fsf@wolfsden.cz \
    --to=~@wolfsden.cz \
    --cc=45mg.writes@gmail.com \
    --cc=bohacfr2@fel.cvut.cz \
    --cc=guix-devel@gnu.org \
    --cc=ian@retrospec.tv \
    --cc=mail@cbaines.net \
    /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).