From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Disable ugly pc-speaker sound in Slim auth failure Date: Sat, 16 Mar 2019 17:46:06 +0100 (CET) Message-ID: References: <87zhpuajwx.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_59686_760013562.1552754766850" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5CRq-0002Wq-OR for help-guix@gnu.org; Sat, 16 Mar 2019 12:46:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5CRn-000430-2W for help-guix@gnu.org; Sat, 16 Mar 2019 12:46:12 -0400 Received: from w1.tutanota.de ([81.3.6.162]:25544) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5CRj-000418-Pc for help-guix@gnu.org; Sat, 16 Mar 2019 12:46:09 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id D0772FA023F for ; Sat, 16 Mar 2019 16:46:06 +0000 (UTC) In-Reply-To: <87zhpuajwx.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice Cc: Help Guix ------=_Part_59686_760013562.1552754766850 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You know, Tobias! Just for experiment I've add (al utils) and guix cuss out= : (use-modules (gnu) (gnu system nss) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu system locale) ;;for locale-definition =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services desktop) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;= (gnu services dns) ;;for dnsmasq =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (s= rfi srfi-1) ;;for remove function =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services networking) ;;for remove ntp =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services avahi) ;;for remove avahi =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu services xorg) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;= (gnu services databases);;for postgres =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (g= nu packages admin) ;;for wpa_supplicant =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (a= l 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? >> > > [=E2=80=A6] > >> 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 > ------=_Part_59686_760013562.1552754766850 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You know, Tobias! Just for experime= nt I've add (al utils) and guix cuss out:

(use-modu= les (gnu) (gnu system nss)
       &nb= sp;     (gnu system locale) ;;for locale-definition
=              (g= nu services desktop)
        &nb= sp;    ;;(gnu services dns) ;;for dnsmasq
  &nb= sp;          (srfi srfi-1) ;;f= or remove function
         = ;    (gnu services networking) ;;for remove ntp
 &nb= sp;           (gnu servic= es avahi) ;;for remove avahi
       &= nbsp;     (gnu services xorg)
   &nbs= p;         ;;(gnu services database= s);;for postgres
         &= nbsp;   (gnu packages admin) ;;for wpa_supplicant
  =            (al utils)
= )

# guix system reconfigure /etc/config.scm
guix sys= tem: error: failed to load '/etc/config.scm':
ice-9/boot-9.scm:2803:6: I= n 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:
Zva= vko,

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

[=E2=80=A6]
Mentioned github page has n= o 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 iden= tity strings ","))

You can copy the definition to y= our 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

------=_Part_59686_760013562.1552754766850--