From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Building guix-modular with cuirass Date: Fri, 27 Apr 2018 11:10:27 +0200 Message-ID: <87a7tpc8vw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBzOl-000475-5F for help-guix@gnu.org; Fri, 27 Apr 2018 05:10:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBzOh-00040k-0Z for help-guix@gnu.org; Fri, 27 Apr 2018 05:10:35 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:55883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBzOg-00040K-NM for help-guix@gnu.org; Fri, 27 Apr 2018 05:10:30 -0400 Received: by mail-wm0-x229.google.com with SMTP id a8so1424777wmg.5 for ; Fri, 27 Apr 2018 02:10:30 -0700 (PDT) Received: from denali ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id x189sm3196109wmg.0.2018.04.27.02.10.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Apr 2018 02:10:28 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" 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