[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building guix-modular with cuirass
From: |
Mathieu Othacehe |
Subject: |
Building guix-modular with cuirass |
Date: |
Fri, 27 Apr 2018 11:10:27 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
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
- Building guix-modular with cuirass,
Mathieu Othacehe <=