unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: Carlo Zancanaro <carlo@zancanaro.id.au>
Cc: guix-devel@gnu.org
Subject: Re: Unable to configure a system with 'cuirass-service'
Date: Thu, 01 Dec 2016 12:41:04 +0000	[thread overview]
Message-ID: <87k2bj7rfj.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <87y4007e6n.fsf@zancanaro.id.au>

Sorry, I should really set up my client to add CC or even To with lists...

      Carlo Zancanaro <carlo@zancanaro.id.au> 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 #<catch-closure a4de40> ...]
      In unknown file:
         ?: 17 [apply-smob/1 #<catch-closure a4de40>]
      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 #<procedure a6d900 at ice-9/boot-9.scm:4051:3 ()>]
      4056: 13 [#<procedure a6d900 at ice-9/boot-9.scm:4051:3 ()>]
      1727: 12 [%start-stack load-stack #<procedure a77120 at ice-9/boot-9.scm:4047:10 ()>]
      1732: 11 [#<procedure a81b70 ()>]
      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 #<procedure 378a7e0 at guix/ui.scm:426:2 ()> ...]
       160: 7 [catch system-error ...]
      In guix/scripts/system.scm:
       954: 6 [#<procedure 376b120 at guix/scripts/system.scm:946:2 ()>]
       841: 5 [process-action build ("/etc/config.scm") ...]
      In guix/store.scm:
      1215: 4 [run-with-store # ...]
      In guix/scripts/system.scm:
       853: 3 [#<procedure 10053c0 at guix/scripts/system.scm:845:8 (state)> #]
       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): #<<service> type: #<service-type cuirass 3686210>
      parameters: #<<cuirass-configuration> 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>>

  reply	other threads:[~2016-12-01 12:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 13:05 [PATCH 0/2] Cuirass package + service Mathieu Lirzin
2016-10-26 13:05 ` [PATCH 1/2] gnu: Add Cuirass Mathieu Lirzin
2016-10-26 13:36   ` David Craven
2016-11-29 22:25     ` Mathieu Lirzin
2016-11-30 13:10       ` Ludovic Courtès
2016-10-26 13:05 ` [PATCH 2/2] services: Add 'cuirass-service' Mathieu Lirzin
2016-10-26 13:35   ` David Craven
2016-10-26 14:42     ` Mathieu Lirzin
2016-10-26 18:57       ` David Craven
2016-10-27  0:22   ` Leo Famulari
2016-11-06 13:16     ` Andreas Enge
2016-10-27 13:36   ` Ludovic Courtès
2016-11-29 22:22     ` Mathieu Lirzin
2016-11-30 21:53       ` Unable to configure a system with 'cuirass-service' ng0
2016-11-30 23:14         ` Carlo Zancanaro
2016-12-01 12:41           ` ng0 [this message]
2016-12-01 12:59             ` Carlo Zancanaro
2016-12-01 13:23               ` ng0
2016-12-01 15:13                 ` Carlo Zancanaro
2016-12-01 20:22                   ` Mathieu Lirzin
2016-12-15 21:58                     ` Mathieu Lirzin
2016-12-15 22:55                       ` ng0
2016-12-15 23:15                         ` Mathieu Lirzin

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=87k2bj7rfj.fsf@we.make.ritual.n0.is \
    --to=ng0@libertad.pw \
    --cc=carlo@zancanaro.id.au \
    --cc=guix-devel@gnu.org \
    /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).