From: Gottfried <gottfried@posteo.de>
To: help-guix@gnu.org
Subject: unbound variable
Date: Tue, 1 Nov 2022 18:25:45 +0000 [thread overview]
Message-ID: <8d116bee-0e71-95b0-150a-d8885806a10d@posteo.de> (raw)
[-- 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 --]
next reply other threads:[~2022-11-01 18:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-01 18:25 Gottfried [this message]
2022-11-01 18:30 ` unbound variable 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
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=8d116bee-0e71-95b0-150a-d8885806a10d@posteo.de \
--to=gottfried@posteo.de \
--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).