From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: hydra.gnu.org off-line for maintenance Date: Wed, 31 Oct 2018 18:50:48 +0100 (CET) Message-ID: References: <874ldbacqs.fsf@gnu.org> <<874ldbacqs.fsf@gnu.org>> <20181025184126.081fcef4@gmail.com> <40cd3e88-fc22-76d1-e979-3b3c3cdb915f@web.de> <<40cd3e88-fc22-76d1-e979-3b3c3cdb915f@web.de>> <20181026.112833.1041340413850544457.post@thomasdanckaert.be> <<20181026.112833.1041340413850544457.post@thomasdanckaert.be>> <47cf3cd8-8c84-9ec8-1a36-b7983ca0318b@freenet.de> <<47cf3cd8-8c84-9ec8-1a36-b7983ca0318b@freenet.de>> <87sh0sg71l.fsf@tobias.gr> <> <87va5ihwst.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_167228_1083373878.1541008248284" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHudv-0007qt-50 for help-guix@gnu.org; Wed, 31 Oct 2018 13:51:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHudr-0003VF-J9 for help-guix@gnu.org; Wed, 31 Oct 2018 13:50:59 -0400 Received: from w1.tutanota.de ([81.3.6.162]:36520) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gHudo-0003S2-4d for help-guix@gnu.org; Wed, 31 Oct 2018 13:50:52 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id 46B36FA07D8 for ; Wed, 31 Oct 2018 17:50:48 +0000 (UTC) In-Reply-To: <87va5ihwst.fsf@elephly.net> 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" Cc: help-guix@gnu.org ------=_Part_167228_1083373878.1541008248284 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you, Ricardo! Your answer is very important. This command is working now: 'guix system reconfigure /etc/config.scm --sub= stitute-urls=3Dhttps://mirror.guixsd.org ', neve= rtheless I have 504 errors, but some packages are compiling now. After that I'll try your advise. It's a pity I have not enough time for Gui= xSD and Guile, but this is very best I've tried from opensource. Here are v= ery=C2=A0 responsive people. When I found how to use IRC through tor or vpn= I'll join.=20 But may be tox group chat? 31. Oct 2018 20:04 by rekado@elephly.net : > Hi, > > znavko@tutanota.com > writes: > >> (define %my-services >> (modify-services %base-services >> (guix-service-type config =3D> >> (guix-configuration >> (inherit config) >> (substitute-urls (list ">> https://mirror.hydra.gnu.org >> <>> https://mirror.hydra.gnu.org >> >"; >> ">> https://hydra.gnu.org >> <>> https://hydra.= gnu.org >> >"; >> ">> https://berlin.guixsd.org >> <>> https:= //berlin.guixsd.org >> >"; >> )))))) > > Okay, %my-services is a list of services. Let=E2=80=99s remember this. > >> (services (cons* ;;(tor-service) >> (xfce-desktop-service) >> (bluetooth-service) >> (modify-services %desktop-services =E2=80=A6) >> %my-services >> ));;end of services > > Here you=E2=80=99re using cons* on four arguments: a service, another ser= vice, a > list of services, and yet another list of services. > > This is why you get the error, because you=E2=80=99re creating a nested l= ist of > services and lists of services. When you pay attention to the types you > could come up with an alternative, such as this: > > (services (cons* (xfce-desktop-service) > (bluetooth-service) > (append (modify-services %desktop-services =E2=80=A6) > %my-services))) > > Or you could change %my-services to work on %desktop-services and thus > remove the second =E2=80=9Cmodify-services=E2=80=9D. > > -- > Ricardo > > PS: closing parentheses get lonely when they are on a line all by > themselves ;) ------=_Part_167228_1083373878.1541008248284 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you, Ricardo! Your answer is very important.
This command is wor= king now: 'guix system reconfigure /etc/config.scm --substitute-urls=3D= https://mirror.guixsd.org', nevertheless I have 504 error= s, but some packages are compiling now.
After that I'll try your advis= e. It's a pity I have not enough time for GuixSD and Guile, but this is ver= y best I've tried from opensource. Here are very  responsive people. W= hen I found how to use IRC through tor or vpn I'll join.
But may be t= ox group chat?

31. Oct 2018 20:04 by rekado@elephly.net= :

Hi,

<= a href=3D"mailto:znavko@tutanota.com" target=3D"_blank" rel=3D"noopener nor= eferrer">znavko@tutanota.com writes:
(define %my-servi= ces
(modify-services %base-services
(guix-service-type config = =3D>
(guix-configuration
(inherit config)
(substitute-= urls (list "https://mirror.hydra.gnu.org <https://mirror.hydra.gnu.org>";
"https://h= ydra.gnu.org <https://hydra.gnu.org>";
"= https://berlin.guixsd.org <https://berlin.guixsd.o= rg>";
))))))

Okay, %my-services is a li= st of services. Let=E2=80=99s remember this.
(services (= cons* ;;(tor-service)
(xfce-desktop-service)
(bluetooth-service= )
(modify-services %desktop-services =E2=80=A6)
%my-services ));;end of services

Here you=E2=80=99re using cons* o= n four arguments: a service, another service, a
list of services, and = yet another list of services.

This is why you get the error, bec= ause you=E2=80=99re creating a nested list of
services and lists of se= rvices. When you pay attention to the types you
could come up with an= alternative, such as this:

(services (cons* (xfce-desktop-servi= ce)
(bluetooth-service)
(append= (modify-services %desktop-services =E2=80=A6)
= %my-services)))

Or you could change %my-services to work on %d= esktop-services and thus
remove the second =E2=80=9Cmodify-services=E2= =80=9D.

--
Ricardo

PS: closing parentheses get l= onely when they are on a line all by
themselves ;)
------=_Part_167228_1083373878.1541008248284--