[Top][All Lists]

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

Continuous builds on Hydra

From: Ludovic Courtès
Subject: Continuous builds on Hydra
Date: Sun, 25 Nov 2012 17:29:54 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)


Guix has been under continuous integration at:


And now the distro itself is being built at:


Binaries can be downloaded from there.  You first need to fetch the
manifest using:


Then nix-worker is able to use those binary substitutes, instead of
building things locally.  So, for instance, this is what happens when I
attempt to build Autoconf:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix-build autoconf 
WARNING: (distro packages wget): imported module (distro packages gettext) 
overrides core binding `gettext'
WARNING: (distro packages nano): imported module (distro packages gettext) 
overrides core binding `gettext'
warning: you did not specify `--add-root'; the result might be removed by the 
garbage collector
the following derivations will be built:
@ substituter-started /nix/store/sj4isnlaysjdcq1nbrafl8m4pj8zl9wv-autoconf-2.69 

*** Trying to download/patch 

*** Step 1/1: downloading 
into `/nix/store/sj4isnlaysjdcq1nbrafl8m4pj8zl9wv-autoconf-2.69'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  631k    0  631k    0     0   236k      0 --:--:--  0:00:02 --:--:--  241k

@ substituter-succeeded 
--8<---------------cut here---------------end--------------->8---

What happened is that the daemon directly downloaded the Autoconf binary
from hydra.nixos.org, and nothing got built locally.

The recipe that tells what the jobs is in the ‘hydra.scm’ file.

This is currently x86_64-linux-only, because of the Hydra bug reported
at <https://github.com/NixOS/hydra/issues/50>.

Note that hydra.nixos.org uses hardware generously made available by the
NixOS project and TU Delft, the Netherlands (thanks!).  As noted in the
‘TODO’ file, we should arrange with the FSF sysadmins to setup our own
Hydra instance, and help is welcome on this front!  I have experience
setting up Hydra, so I could help on this.

Happy hacking,

reply via email to

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