all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 53342@debbugs.gnu.org
Subject: bug#53342: Environmental variables for cuirass service ?
Date: Tue, 18 Jan 2022 11:29:45 +0100	[thread overview]
Message-ID: <87a6ftpbp6.fsf@ngraves.fr> (raw)

Hi,

(In short), I'm looking for a way to add environmental variables to a
cuirass register job.

I've recently setup a cuirass server to ease my contributions to guix.
While everything seems to work fine when not using the flat channel (for
emacs-pgtk), I get the following error when added to cuirass
specifications :

2022-01-18T09:59:09 error: fatal: uncaught exception 'wrong-type-arg' in 'r
estart-builds' fiber!
2022-01-18T09:59:09 error: exception arguments: ("struct-vtable" "Wrong typ
e argument in position 1 (expecting struct): ~S" (#f) (#f))
In ice-9/boot-9.scm:
  1747:15  7 (with-exception-handler #<procedure 7f778dfed030 at ic?> ?)
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
  1685:16  5 (raise-exception _ #:continuable? _)
  1780:13  4 (_ #<&compound-exception components: (#<&assertion-fail?>)
   2137:6  3 (_ _ . _)
  1747:15  2 (with-exception-handler #<procedure 7f778e07f2d0 at ic?> ?)
In cuirass/utils.scm:
   299:22  1 (_)
In unknown file:
           0 (make-stack #t)
ERROR: In procedure make-stack:
In procedure struct-vtable: Wrong type argument in position 1 (expecting st
ruct): #f

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.

Not very verbose. I took a look at the gnu/services/cuirass.scm file to
see if there was a way to add environment-variables, but it doesn't seem
that it's the case.

Is there another way to setup global environmental variables on the
server ? Or should I add such an option in the cuirass service
definition and commit a patch ?

Thanks in advance,
Cheers,

Nicolas Graves




             reply	other threads:[~2022-01-18 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 10:29 Nicolas Graves via Bug reports for GNU Guix [this message]
2024-02-04 13:17 ` bug#53342: close 53342 Nicolas Graves via Bug reports for GNU Guix

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6ftpbp6.fsf@ngraves.fr \
    --to=bug-guix@gnu.org \
    --cc=53342@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.