all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Building guix-modular with cuirass
@ 2018-04-27  9:10 Mathieu Othacehe
  2018-04-30 13:04 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Mathieu Othacehe @ 2018-04-27  9:10 UTC (permalink / raw)
  To: help-guix


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-13  7:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  9:10 Building guix-modular with cuirass Mathieu Othacehe
2018-04-30 13:04 ` 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

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.