unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Julien Lepiller <julien@lepIller.eu>
Cc: help-guix@gnu.org
Subject: Re: guix system reconfigure: Wrong type argument in position 1 (expecting struct)
Date: Wed, 19 Jun 2019 08:02:48 +0200	[thread overview]
Message-ID: <871rzq9kon.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <20190618181946.4cc559bf@tachikoma.lepiller.eu>

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

Hello Julien,

thank you for your check!

Julien Lepiller <julien@lepiller.eu> 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`

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-06-19  6:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18 14:53 guix system reconfigure: Wrong type argument in position 1 (expecting struct) Giovanni Biscuolo
2019-06-18 16:19 ` Julien Lepiller
2019-06-19  6:02   ` Giovanni Biscuolo [this message]
2019-06-18 16:36 ` Ricardo Wurmus
2019-06-19  6:22   ` Giovanni Biscuolo

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=871rzq9kon.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=help-guix@gnu.org \
    --cc=julien@lepIller.eu \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).