all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Disable ugly pc-speaker sound in Slim auth failure
Date: Sat, 16 Mar 2019 17:46:06 +0100 (CET)	[thread overview]
Message-ID: <La6OLkW--3-1@tutanota.com> (raw)
In-Reply-To: <87zhpuajwx.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

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 somebody@not-sent-or-endorsed-by.tobias.gr:

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


[-- Attachment #2: Type: text/html, Size: 4083 bytes --]

  parent reply	other threads:[~2019-03-16 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14  4:00 Disable ugly pc-speaker sound in Slim auth failure znavko
2019-03-16 10:52 ` znavko
     [not found] ` <La57Jrg--3-1@tutanota.com-La586Hw----1>
2019-03-16 13:17   ` znavko
2019-03-16 16:00     ` Tobias Geerinckx-Rice
2019-03-16 16:42       ` znavko
2019-03-16 16:46       ` znavko [this message]
     [not found]       ` <La6OLkW--3-1@tutanota.com-La6OQsv--3-1>
2019-03-17  7:31         ` znavko
2019-03-17  8:10           ` swedebugia
2019-03-17 12:02           ` Tobias Geerinckx-Rice
2019-03-17 12:07             ` Tobias Geerinckx-Rice

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=La6OLkW--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    --cc=somebody@not-sent-or-endorsed-by.tobias.gr \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.