From: 45mg <45mg.writes@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Cc: "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 14:58:25 -0500 [thread overview]
Message-ID: <87v7v4290e.fsf@gmail.com> (raw)
In-Reply-To: <8734ibx1op.fsf@gmail.com>
Hello again Guix,
Thanks, everyone, for the replies to my inital message. Reading through
them, I developed a hunch that that the issue might only occur when you
configure additional channels in your system configuration, and I think
I've been able to verify this.
Rutherther suggested that I share my configuration. I figured that my
sprawling multi-file configuration would present far more noise than
useful information - so, with much effort, I installed Guix into a VM,
then built up a minimal configuration from the initial template until I
could reproduce the issue.
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.
--8<---------------cut here---------------start------------->8---
(use-modules (gnu)
(gnu packages package-management)
(guix channels))
(use-service-modules cups desktop networking ssh xorg)
(define my-channels
(append
(list (channel
(name 'guix-science)
(url "https://codeberg.org/guix-science/guix-science.git")
(introduction
(make-channel-introduction
"b1fe5aaff3ab48e798a4cce02f0212bc91f423dc"
(openpgp-fingerprint
"CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446")))))
%default-channels))
(operating-system
(locale "en_US.utf8")
(timezone "America/New_York")
(keyboard-layout (keyboard-layout "us"))
(host-name "guix-1")
(users (cons* (user-account
(name "me")
(comment "Me")
(group "users")
(home-directory "/home/me")
(supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages (append (specifications->packages (list "tmux" "neovim"))
%base-packages))
(services
(append (list
(service openssh-service-type)
(service network-manager-service-type)
(service wpa-supplicant-service-type)
(service ntp-service-type))
(modify-services %base-services
(guix-service-type
config => (guix-configuration
(inherit config)
(channels my-channels)
(guix (guix-for-channels my-channels)))))))
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets (list "/dev/sda"))
(keyboard-layout keyboard-layout)))
(swap-devices (list (swap-space
(target (uuid
"87ca086c-59c8-4cd5-8b69-355afbee886a")))))
(file-systems (cons* (file-system
(mount-point "/")
(device (uuid
"2d3eae58-a22e-4bfa-9929-0bcfc47c163a"
'ext4))
(type "ext4")) %base-file-systems)))
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2024-12-27 19:59 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 [this message]
2024-12-27 21:29 ` Tomas Volf
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=87v7v4290e.fsf@gmail.com \
--to=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).