From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: A couple roadblocks using guix Date: Sat, 24 Jan 2015 17:54:46 -0500 Message-ID: <877fwb23ih.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87oapqzgka.fsf@gnu.org> <87ppa5x4y1.fsf@gnu.org> <20150123214842.GA26317@debian> <87fvazj3ye.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF9bP-0000yw-7s for guix-devel@gnu.org; Sat, 24 Jan 2015 17:54:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YF9bN-0000WC-Ai for guix-devel@gnu.org; Sat, 24 Jan 2015 17:54:51 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Omar Radwan , Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Omar Radwan 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 # > 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