all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unable to reconfigure guix system (wrong type to apply)
@ 2022-08-30 13:31 Luis Felipe
  2022-08-31 12:41 ` [EXT] " Thompson, David
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Felipe @ 2022-08-30 13:31 UTC (permalink / raw)
  To: help guix


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [EXT] Unable to reconfigure guix system (wrong type to apply)
  2022-08-30 13:31 Unable to reconfigure guix system (wrong type to apply) Luis Felipe
@ 2022-08-31 12:41 ` Thompson, David
  2022-08-31 13:58   ` Luis Felipe
  0 siblings, 1 reply; 3+ messages in thread
From: Thompson, David @ 2022-08-31 12:41 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help guix

Hi Luis,

On Tue, Aug 30, 2022 at 9:32 AM Luis Felipe
<luis.felipe.la@protonmail.com> wrote:
>
> 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?

This looks like the problem described in
https://issues.guix.gnu.org/issue/57480 in which the regression was
identified and reverted.  Try 'guix pull' again and see if your system
reconfigure works this time.

Hope this helps,

- Dave


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [EXT] Unable to reconfigure guix system (wrong type to apply)
  2022-08-31 12:41 ` [EXT] " Thompson, David
@ 2022-08-31 13:58   ` Luis Felipe
  0 siblings, 0 replies; 3+ messages in thread
From: Luis Felipe @ 2022-08-31 13:58 UTC (permalink / raw)
  To: Thompson, David; +Cc: help guix


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

Hey, David, good to see you around again :)


On Wednesday, August 31st, 2022 at 12:41, Thompson, David <dthompson2@worcester.edu> wrote:

> This looks like the problem described in
> https://issues.guix.gnu.org/issue/57480 in which the regression was
> identified and reverted. Try 'guix pull' again and see if your system
> reconfigure works this time.
> 

> Hope this helps,

Yeah, that was it. Thanks.

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-31 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 13:31 Unable to reconfigure guix system (wrong type to apply) Luis Felipe
2022-08-31 12:41 ` [EXT] " Thompson, David
2022-08-31 13:58   ` Luis Felipe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.