From: David Thompson <dthompson2@worcester.edu>
To: "Omar Radwan" <toxemicsquire4@gmail.com>,
"Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: A couple roadblocks using guix
Date: Sat, 24 Jan 2015 17:54:46 -0500 [thread overview]
Message-ID: <877fwb23ih.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CAMwaQAJww+7CYBu78w35yh-3fh6d=9kWqVk2ZRGPAkDo0-Hmhg@mail.gmail.com>
Omar Radwan <toxemicsquire4@gmail.com> writes:
> 3. bash-4.3$ sudo guix system reconfigure /etc/config.scm
> 4. guix system: error: failed to load operating system file
> '/etc/config.scm':
> 5. ERROR: Wrong number of arguments to #<procedure cons (_ _)>
> 6.
> 7. And I'm 100 percent sure it's the dhcp-client-service declaration
> because when I take it out, guix system reconfigure works fine. And just in
> case, here's my config.scm
The reason it fails when you add 'dhcp-client-service' isn't because
there's a problem with that procedure, but because 'cons' only takes two
arguments and forms a pair, and you are passing three. Use 'cons*'
instead.
(services (cons* (slim-service)
(dhcp-client-service)
%base-services))
Hope this helps!
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate
next prev parent reply other threads:[~2015-01-24 22:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 1:52 A couple roadblocks using guix Omar Radwan
2015-01-22 13:02 ` Adam Pribyl
2015-01-22 14:55 ` Omar Radwan
2015-01-22 20:49 ` Ludovic Courtès
2015-01-22 20:57 ` Thompson, David
2015-01-23 8:43 ` Ludovic Courtès
2015-01-23 21:48 ` Andreas Enge
2015-01-24 6:09 ` Omar Radwan
2015-01-24 20:27 ` Omar Radwan
2015-01-25 17:10 ` Ludovic Courtès
[not found] ` <CAMwaQAKUCxMoQU6N+PnDChhnfHBS2Vp0fBF4rS-pa-Va-HFjNQ@mail.gmail.com>
2015-01-25 18:18 ` Ludovic Courtès
2015-01-24 20:51 ` Ludovic Courtès
2015-01-24 20:53 ` Ludovic Courtès
2015-01-24 21:57 ` Omar Radwan
2015-01-24 22:54 ` David Thompson [this message]
2015-01-22 21:08 ` Omar Radwan
2015-01-22 23:59 ` Omar Radwan
2015-01-23 8:51 ` Ludovic Courtès
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=877fwb23ih.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
--to=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=toxemicsquire4@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).