unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* unbound variable
@ 2022-11-01 18:25 Gottfried
  2022-11-01 18:30 ` Felix Lechner via
  0 siblings, 1 reply; 10+ messages in thread
From: Gottfried @ 2022-11-01 18:25 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 4736 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

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

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

end of thread, other threads:[~2022-11-02 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01 18:25 unbound variable Gottfried
2022-11-01 18:30 ` Felix Lechner via
2022-11-01 19:14   ` Gottfried
2022-11-01 19:38     ` Felix Lechner via
2022-11-01 20:00       ` Gottfried
2022-11-01 20:35         ` Felix Lechner via
2022-11-02  8:36           ` Gottfried
2022-11-02 12:50           ` Gottfried
2022-11-02 13:48             ` Felix Lechner via
2022-11-02 16:50               ` kiasoc5

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).