all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <m.othacehe@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: Building guix-modular with cuirass
Date: Fri, 27 Apr 2018 11:10:27 +0200	[thread overview]
Message-ID: <87a7tpc8vw.fsf@gmail.com> (raw)


Hi Guix,

I setup my own cuirass server to build guix-modular, here's how:

--8<---------------cut here---------------start------------->8---
(define (build-guix-modular store arguments)
  (let* ((source (assq-ref arguments 'file-name))
         (revision (assq-ref arguments 'revision))
         (build (primitive-load (string-append source "/build-aux/build-self.scm")))
         (res (lambda ()
                `((#:job-name . ,(string-append "guix-" revision "-job"))
                  (#:derivation . ,(derivation-file-name
                                    (run-with-store store
                                      (build source
                                             #:version revision
                                             #:guile-version "2.2"))))))))
    (format (current-error-port) "---------> ~a|~a~%" arguments (res))
    res))
--8<---------------cut here---------------end--------------->8---

This is directly inspired by what I found in build-aux/ directory. While
everything seems great (thanks Ludo for this new feature :p), my other
machines do not use derivations builded by cuirass when running 'guix
pull'.

However, on the machine running cuirass, I have no build error an when
running 'guix pull', nothing is builded and everything works fine.

Any idea how to debug this issue ?

Thanks,

Mathieu

             reply	other threads:[~2018-04-27  9:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27  9:10 Mathieu Othacehe [this message]
2018-04-30 13:04 ` Building guix-modular with cuirass Ludovic Courtès
2018-04-30 18:29   ` Mathieu Othacehe
2018-05-01 20:56     ` Ludovic Courtès
2018-05-02 13:52       ` Mathieu Othacehe
2018-05-09 22:05         ` Ludovic Courtès
2018-05-08 21:23       ` Nils Gillmann
2018-05-13  2:17         ` Chris Marusich
2018-05-13  7:48           ` swedebugia

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=87a7tpc8vw.fsf@gmail.com \
    --to=m.othacehe@gmail.com \
    --cc=help-guix@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 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.