From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct) Date: Wed, 19 Jun 2019 08:02:48 +0200 Message-ID: <871rzq9kon.fsf@roquette.mug.biscuolo.net> References: <877e9j9c74.fsf@roquette.mug.biscuolo.net> <20190618181946.4cc559bf@tachikoma.lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44224) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdTgl-0007nA-VJ for help-guix@gnu.org; Wed, 19 Jun 2019 02:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdTgk-0008Ko-Vi for help-guix@gnu.org; Wed, 19 Jun 2019 02:03:19 -0400 Received: from ns13.heimat.it ([46.4.214.66]:49140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdTgk-0008KR-3O for help-guix@gnu.org; Wed, 19 Jun 2019 02:03:18 -0400 In-Reply-To: <20190618181946.4cc559bf@tachikoma.lepiller.eu> 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: Julien Lepiller Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Julien, thank you for your check! Julien Lepiller writes: [...] > The result of modify-services is a list, but reading your file, it > seems you add it to the end of the (list ...) thing, Ouch... now **I see**! ...and begin to understand the error message > which is not going > to work: you're ending up with a list of lists. You can either put the > modify-services form outside of that list: [...] > or replace the (append (list ...)) with a (cons* ...): I adopted the latter, it makes (services...) more readeable to me [...] Kudos. Gio' aka `Guix-Fu Panda` =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl0J0AgACgkQ030Op87M ORKeqg/9HONr7UXC3L9LFBJguJcO+QWWLIP/rZHX6Pn+w1sTUxzUEdCZzf0+JNYQ Mn1F49Lo5qWIOReVnuih0FxbFXCziE/hSg33C8sM42xFjMviaV68jEG0zFMKMbxF hyxHHozMw2yTT5LwTHRf73J24LYh9edhdYFXvXBvRUhjZeAfg/TXnlUtYou1T0a8 Fd9oTMXCHeKTdPD358ulEgHjE9KhxGy9hrBkqeo9PEJIuZyS3SKpQvI9IIycJ6+T nM2e0o4Pt7X3ugNKVsHFxoidMfWwhITnZosvdSwS4ttwPcfQ7B7fp0IkncmkL0T/ 28EwSXl1IS8G6j9k6XnlYq8vck4W7P+Cu4man2dp/J90u9Ywl82iqsCv08AeG/cY GJ0MlLHbZeegEMn266lBupS04AYLC6HwybCcpwx3EFwgmO2YkJn0BjiBqPP0PCGn 71f7LipgcS6S5emWk2BjMHCJh+Ediy4HAcczKiO5QIb7qil6LICZC2hfPnFvv9oZ UUzVbSBSJ3ZUDgG2qFFFpIpPKsby7QtZMtBgsmEi3USk8Nh4U5S7MLF2dZDxQGJt INbQoc3SdEnbBhx3QRWWQhTHQieUWQZghP5uFDCX17PiVTQbOvj1JB0kolYPjdQ6 HmJ3C/8ZWWADq+sx8H/SFcT5ASGNFZwhZfBpyt/DCGQxRkuro4A= =vnbI -----END PGP SIGNATURE----- --=-=-=--