Re: Configuration for Cuirass

2020-10-19 Thread divoplade
Le lundi 19 octobre 2020 à 12:27 +0200, Mathieu Othacehe a écrit : > --8<---cut here---start->8--- > (list '((#:name . "my-packages" (for future reference: there's a little problem with parens, the reader will know how to fix it) > It works fine here, not sure

Re: Configuration for Cuirass

2020-10-19 Thread Mathieu Othacehe
Hello, > I was missing that, thank you. Unfortunately, it did not change the > error. That's unfortunate. I tried the following specification: --8<---cut here---start->8--- (list '((#:name . "my-packages" (#:load-path-inputs . ("guix")) (#:pack

Re: Configuration for Cuirass

2020-10-18 Thread divoplade
Le dimanche 18 octobre 2020 à 19:38 +0200, Mathieu Othacehe a écrit : > You also need to add "divoplade-site" to "#:package-path-inputs" in > the > specifications. > > See the following snippet from Cuirass info page: > > --8<---cut here---start->8--- > ‘packag

Re: Configuration for Cuirass

2020-10-18 Thread Mathieu Othacehe
> If I clone it and run your commands I do not get an error (I edited the > notes about source file newer than compiled): You also need to add "divoplade-site" to "#:package-path-inputs" in the specifications. See the following snippet from Cuirass info page: --8<---cut here---

Re: Configuration for Cuirass

2020-10-18 Thread divoplade
Thank you for your answer. The package I want to run guix in should be this one: https://code.divoplade.fr/divoplade-site.git/ It is a channel aggregating my packages. The one you tried is just the source code of one of them, and it's not supposed to be used as a guix channel (thus the errors).

Re: Configuration for Cuirass

2020-10-18 Thread Mathieu Othacehe
Running this: --8<---cut here---start->8--- mathieu@cervin:~/tmp$ GUIX_PACKAGE_PATH=pomdappi/ guix repl scheme@(guix-user)> ,use (gnu) (guix store) (gnu ci) scheme@(guix-user)> (define s (hydra-jobs (open-connection) '((subset "pomdappi") (systems "x86_64-l

Re: Configuration for Cuirass

2020-10-18 Thread divoplade
Hi, Le dimanche 18 octobre 2020 à 17:46 +0200, Mathieu Othacehe a écrit : > > See https://ci.divoplade.fr/eval/1/log/raw > > Sadly the log isn't helpful, could you share your specification? Sorry, I tried a few different things and it might have changed a bit, but the error is the same. The conf

Re: Configuration for Cuirass

2020-10-18 Thread Mathieu Othacehe
Hello, > See https://ci.divoplade.fr/eval/1/log/raw Sadly the log isn't helpful, could you share your specification? Thanks, Mathieu

Re: Configuration for Cuirass

2020-10-15 Thread divoplade
Le jeudi 15 octobre 2020 à 14:32 +0200, Mathieu Othacehe a écrit : > You can also try to setup a Guix mirror to see if it helps. That's what I did. It seems that the configuration is ignored if the /var/lib/cuirass/cuirass.db file exists, and that cuirass cannot restart if I remove it. So I had to

Re: Configuration for Cuirass

2020-10-15 Thread Mathieu Othacehe
Hello, > My log file alternates between "building 0 derivations" and "failed to > connect to git.savannah.gnu.org: Connection timed out". The first message is probably a consequence of the second. Make sure that nss-certs is available in the root profile. You can also try to setup a Guix mirro

Re: Configuration for Cuirass

2020-10-15 Thread divoplade
Hello Mathieu, Le jeudi 15 octobre 2020 à 10:40 +0200, Mathieu Othacehe a écrit : > --8<---cut here---start->8--- > (define my-packages > '((#:name . "my-packages") > (#:load-path-inputs . ("guix")) > (#:package-path-inputs . ()) > (#:proc-input .

Re: Configuration for Cuirass

2020-10-15 Thread Mathieu Othacehe
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-packag

Configuration for Cuirass

2020-10-14 Thread divoplade
Hello, I would like to use the cuirass service, but I cannot seem to make it work. It either fails with an exception, or it builds nothing. I would like to build all the packages from my repository ( https://framagit.org/divoplade/pomdappi-ci) and nothing from guix git. Here is a specification t