help-guix
[Top][All Lists]
Advanced

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

Re: Disable ugly pc-speaker sound in Slim auth failure


From: znavko
Subject: Re: Disable ugly pc-speaker sound in Slim auth failure
Date: Sat, 16 Mar 2019 17:46:06 +0100 (CET)

You know, Tobias! Just for experiment I've add (al utils) and guix cuss out:

(use-modules (gnu) (gnu system nss)
             (gnu system locale) ;;for locale-definition
             (gnu services desktop)
             ;;(gnu services dns) ;;for dnsmasq
             (srfi srfi-1) ;;for remove function
             (gnu services networking) ;;for remove ntp
             (gnu services avahi) ;;for remove avahi
             (gnu services xorg)
             ;;(gnu services databases);;for postgres
             (gnu packages admin) ;;for wpa_supplicant
             (al utils)
)

# guix system reconfigure /etc/config.scm
guix system: error: failed to load '/etc/config.scm':
ice-9/boot-9.scm:2803:6: In procedure resolve-interface:
no code for module (al utils)


What is wrong here? How to use guile modules?


Mar 16, 2019, 4:00 PM by address@hidden:
Zvavko,

znavko wrote:
# guix system reconfigure /etc/config.scm
/etc/config.scm:97:26: error: comma-separated: unbound variable
hint: Did you forget a `use-modules' form?

[…]
Mentioned github page has no any use-modules string that can help.

Look again. From system-config/os-main.scm:

(al utils)

And indeed, guile/modules/al/utils.scm has:

(define (comma-separated . strings)
"Return string by concatenating STRINGS with commas."
(mapconcat identity strings ","))

You can copy the definition to your own configuration, or just replace it with the (trivial) MAPCONCAT call directly, or just use a comma-separated string to begin with.

Kind regards,

T G-R


reply via email to

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