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