Hello Jérémy, I have a new solution (it is quite different from the previous one) in which it is possible to run guix commands within a job, while still caching most of the files (see attached). I am sorry, my fork of your project is already a mess so I prefer to put the file in its entirety here. Anyways, everything will be way easier once we have a proper debian package for guix: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850644 divoplade Le samedi 20 juin 2020 à 10:42 +0200, Jérémy Korwin-Zmijowski a écrit : > Hey Guixters ! > > I am experimenting with Gitlab CI for a Guile project I am working > on. > It is managed with Hall and I would like to benefit the Guix > features. > > Currently, I struggle to run Guix inside the default Debian stable > docker image (framagit.org). > > Here is my .gitlab-ci.yml : > > before_script: > - apt -qq update > - apt -qq install -y wget gpg xz-utils > - wget > > https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh > - chmod +x guix-install.sh > - wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | > gpg --import - > - printf '\n' | ./guix-install.sh > - /root/.config/guix/current/bin/guix-daemon --build-users- > group=guixbuild > - guix pull > > stages: > - bootstrap > - configure > - build > - test > > job:bootstrap: > stage: bootstrap > script: autoreconf -vfi > > What I get : > > [1592641832.155]: [ FAIL ] unsupported init system; run the daemon > manually: > /root/.config/guix/current/bin/guix-daemon --build-users- > group=guixbuild > [1592641832.155]: [ INFO ] making the guix command available to > other users > > Does anyone has done that before ? > Is there a way to get a Guix docker image instead of the Debian one ? > > Have a nice weekend ! > > Jérémy > >