help-guix
[Top][All Lists]
Advanced

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

unbound variable


From: Gottfried
Subject: unbound variable
Date: Tue, 1 Nov 2022 18:25:45 +0000

Hi Guixers,

I installed Guix System on another laptop and made a mistake in my config.scm file
but I don't know where.

Could somebody have a look?


Error unbound variable in cups...

this is my config.scm file:

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
  (locale "de_AT.utf8")
  (timezone "Europe/Vienna")
  (keyboard-layout (keyboard-layout "at"))
  (host-name "akoya")
  (users (cons* (user-account
                  (name "franz")
                  (comment "Franz")
                  (group "users")
                  (home-directory "/home/franz")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (list (specification->package "dmenu")
            (specification->package "st")
            (specification->package "xterm")
            (specification->package "emacs")
            (specification->package "emacs-exwm")
            (specification->package
              "emacs-desktop-environment")
            (specification->package "nss-certs"))
      %base-packages))
  (services
    (append
      (list (service xfce-desktop-service-type)
            (service mate-desktop-service-type)
            (service enlightenment-desktop-service-type)
            (service openssh-service-type)
            (service tor-service-type)
            (service cups-service-type
                     (cups-configuration
                            (web-interface? #t)
                            (extensions (list cups-filters hplip))))
            (set-xorg-configuration
              (xorg-configuration
                (keyboard-layout keyboard-layout))))
      %desktop-services))
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (targets (list "/boot/efi"))
      (keyboard-layout keyboard-layout)))
(swap-devices
    (list (uuid "ef09b823-2b38-4528-84c2-b991d0af66f5")))
  (file-systems
    (cons* (file-system
             (mount-point "/boot/efi")
             (device (uuid "795B-C6B8" 'fat32))
             (type "vfat"))
           (file-system
             (mount-point "/")
             (device
               (uuid "ed1e2fdd-9a66-4a99-b3a3-c26e4c6fe50f"
                     'ext4))
             (type "ext4"))
           %base-file-systems)))
-------------------------------------------------------------------------
franz@akoya ~$  sudo guix system reconfigure /etc/config.scm
hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines:

     guix install glibc-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

guix system: warning: cannot determine provenance for current system
Backtrace:
          18 (primitive-load "/home/franz/.config/guix/current/bin/g…")
In guix/ui.scm:
   2263:7 17 (run-guix . _)
  2226:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    835:3 14 (_)
    815:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1281:4 12 (_)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   661:37 10 (thunk)
   1300:8  9 (call-with-build-handler #<procedure 7f08d0222810 at g…> …)
  2170:25  8 (run-with-store #<store-connection 256.99 7f08d3902b40> …)
In guix/scripts/system.scm:
    847:2  7 (_ _)
    724:8  6 (_ #<store-connection 256.99 7f08d3902b40>)
In gnu/system.scm:
  1286:19  5 (operating-system-derivation _)
   806:11  4 (operating-system-services #<<operating-system> kernel:…>)
   840:20  3 (services _)
In /etc/config.scm:
    38:21  2 (services #<<operating-system> kernel: #<package linux-…>)
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:
error: cups-service-type: unbound variable
---------------------------------------------------------------
2. question:

hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines:

     guix install glibc-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
------------------------------------------------------------
I did this twice, but this message comes again.
What can I do?

--
Kind regards

Gottfried

Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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