guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A couple roadblocks using guix


From: David Thompson
Subject: Re: A couple roadblocks using guix
Date: Sat, 24 Jan 2015 17:54:46 -0500
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

Omar Radwan <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]