help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to reconfigure guix system (wrong type to apply)


From: Luis Felipe
Subject: Unable to reconfigure guix system (wrong type to apply)
Date: Tue, 30 Aug 2022 13:31:52 +0000

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: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]