help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuration for Cuirass


From: Mathieu Othacehe
Subject: Re: Configuration for Cuirass
Date: Thu, 15 Oct 2020 10:40:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hello divoplade,

> How should I do it?

Writing the appropriate specification is quite tricky and I plan to
write a shepherd service to make it easier. In the meantime, something
like that should get you closer:

--8<---------------cut here---------------start------------->8---
(define my-packages
  '((#:name . "my-packages")
    (#:load-path-inputs . ("guix"))
    (#:package-path-inputs . ())
    (#:proc-input . "guix")
    (#:proc-file . "build-aux/cuirass/gnu-system.scm")
    (#:proc . cuirass-jobs)
    (#:proc-args (subset "pomdappi")) ;name of the packages you want to build
    (#:inputs . (((#:name . "pomdappi")
                  (#:url . "https://framagit.org/divoplade/pomdappi-ci.git";)
                  (#:load-path . ".")
                  (#:branch . "master")
                  (#:no-compile? . #t))
                 ((#:name . "guix")
                  (#:url . "git://git.savannah.gnu.org/guix.git")
                  (#:load-path . ".")
                  (#:branch . "master")
                  (#:no-compile? . #t))))
    (#:build-outputs . ())))
(list my-packages)
--8<---------------cut here---------------end--------------->8---

If you want to use a fixed guix input, you can use the #:commit key.

Thanks,

Mathieu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]