unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Luis Felipe <luis.felipe.la@protonmail.com>
To: help guix <help-guix@gnu.org>
Subject: Unable to reconfigure guix system (wrong type to apply)
Date: Tue, 30 Aug 2022 13:31:52 +0000	[thread overview]
Message-ID: <inwc5Ut5w1rYh_PK6iMjK9Mn9sPedGYkJS4HmPUEMPAjQ_xO6Qd7Fpdo8B9n4m2IUuaSSUC_iPTSiE_-cPgmeHg7QM9G-xgOn9CIlYL3M20=@protonmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2580 bytes --]

Hi,

I'm using Guix system. I guix pull yesterday. This is my new guix:

★★★★★★★★★★
Generation 61	Aug 29 2022 18:41:13	(current)
  guix 9b8507d
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9b8507df11f5ca3d13e49dc0588d3522d28fa9e4
★★★★★★★★★★


I have a ~/.config/guix/channels.scm with the following lines for a long time:

★★★★★★★★★★
(use-modules (guix ci))

(list
 ;; Saves my machine compiling package definitions when running
 ;; "guix pull", because it uses the latest commit with available
 ;; package definition substitutes in ci.guix.gnu.org.
 ;;
 ;; https://guix.gnu.org/manual/en/guix.html#Channels-with-Substitutes

 (channel-with-substitutes-available
  %default-guix-channel
  "https://ci.guix.gnu.org"))
★★★★★★★★★★


But now I'm getting the following error when I try to reconfigure the system:

★★★★★★★★★★
sudo guix system reconfigure my-system.scm 


Backtrace:
          16 (primitive-load "/home/yo/.config/guix/current/bin/guix")
In guix/ui.scm:
   2263:7 15 (run-guix . _)
  2226:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    835:3 12 (_)
    815:4 11 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1274:4 10 (_)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   659:37  8 (thunk)
   1298:8  7 (call-with-build-handler #<procedure 7fc3ad9a2d50 at g…> …)
  2168:25  6 (run-with-store #<store-connection 256.99 7fc3ad78edc0> …)
In guix/scripts/system.scm:
  1298:15  5 (_ _)
    829:5  4 (perform-action reconfigure #<<image> name: #f format:…> …)
In guix/scripts/system/reconfigure.scm:
    375:4  3 (check-forward-update _ #:current-channels _)
    375:4  2 (check-forward-update _ #:current-channels _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type to apply: (#<<channel> name: guix url: "https://git.savannah.gnu.org/git/guix.git" branch: "master" commit: "3f171587bc6a47bb056f3e699e17e05f5832aea5" introduction: #f location: ((filename . "gnu/services.scm") (line . 466) (column . 5))>)
★★★★★★★★★★

Is this a problem in Guix's channel definition?


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1722 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

             reply	other threads:[~2022-08-30 13:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 13:31 Luis Felipe [this message]
2022-08-31 12:41 ` [EXT] Unable to reconfigure guix system (wrong type to apply) Thompson, David
2022-08-31 13:58   ` Luis Felipe

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='inwc5Ut5w1rYh_PK6iMjK9Mn9sPedGYkJS4HmPUEMPAjQ_xO6Qd7Fpdo8B9n4m2IUuaSSUC_iPTSiE_-cPgmeHg7QM9G-xgOn9CIlYL3M20=@protonmail.com' \
    --to=luis.felipe.la@protonmail.com \
    --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).