From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Unable to configure a system with 'cuirass-service' Date: Thu, 01 Dec 2016 12:41:04 +0000 Message-ID: <87k2bj7rfj.fsf@we.make.ritual.n0.is> References: <20161026130558.31924-1-mthl@gnu.org> <20161026130558.31924-3-mthl@gnu.org> <87k2ctkj7h.fsf@gnu.org> <87bmwy53kn.fsf@gnu.org> <87k2bk63eg.fsf@we.make.ritual.n0.is> <87y4007e6n.fsf@zancanaro.id.au> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCQgi-0004Qj-Nk for guix-devel@gnu.org; Thu, 01 Dec 2016 07:42:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCQgd-0002KH-UE for guix-devel@gnu.org; Thu, 01 Dec 2016 07:42:08 -0500 Received: from aibo.runbox.com ([91.220.196.211]:55018) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCQgd-0002IO-KE for guix-devel@gnu.org; Thu, 01 Dec 2016 07:42:03 -0500 In-Reply-To: <87y4007e6n.fsf@zancanaro.id.au> 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" To: Carlo Zancanaro Cc: guix-devel@gnu.org Sorry, I should really set up my client to add CC or even To with lists... Carlo Zancanaro writes: > On Wed, Nov 30 2016, ng0 wrote >> Is there anything obvious I have to change? [ 6 more citation lines. Click/Enter to show. ] > > Your `let` body contains both the `(cuirass-service ...)` form as > well as the `%desktop-services` form. A `let` form will take the > value of the last form in its body, so the `(cuirass-service ...)` > value is being thrown away. > > Try removing one of the closing parentheses after `%desktop-services` > and add it after the `(cuirass-service ...)` form. (This has the effect > of moving `%desktop-services` out of the `let` body.) Thanks! https://ptpb.pw/gQOZ.scm with this change it fails differently: ng0@greendragon ~$ sudo guix system build /etc/config.scm Backtrace: In ice-9/boot-9.scm: 160: 18 [catch #t # ...] In unknown file: ?: 17 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 16 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 15 [eval # #] In ice-9/boot-9.scm: 2404: 14 [save-module-excursion #] 4056: 13 [#] 1727: 12 [%start-stack load-stack #] 1732: 11 [#] In unknown file: ?: 10 [primitive-load "/gnu/store/vk6q4xahpy1dvs5ig3gg699fgszbf8ay-guix-0.11.0-4.1f41/bin/.guix-real"] In guix/ui.scm: 1222: 9 [run-guix-command system "build" "/etc/config.scm"] In ice-9/boot-9.scm: 160: 8 [catch srfi-34 # ...] 160: 7 [catch system-error ...] In guix/scripts/system.scm: 954: 6 [#] 841: 5 [process-action build ("/etc/config.scm") ...] In guix/store.scm: 1215: 4 [run-with-store # ...] In guix/scripts/system.scm: 853: 3 [# #] 611: 2 [perform-action build # # ...] In gnu/system.scm: 635: 1 [operating-system-derivation # # #f] In unknown file: ?: 0 [append (# # # # ...) (# # # # ...)] ERROR: In procedure append: ERROR: In procedure append: Wrong type argument in position 1 (expecting empty list): #< type: # parameters: #< cache-directory: "" user: "cuirass" group: "cuirass" interval: 60 database: "/var/run/cuirass/cuirass.db" specifications: (((#:name . "guix") (#:url . "git://git.savannah.gnu.org/guix.git") (#:load-path . ".") (#:file . "/.../cuirass/tests/gnu-system.scm") (#:proc . hydra-jobs) (#:arguments (subset . "hello")) (#:branch . "master"))) use-substitutes?: #f one-shot?: #f>>