release.nix: Add `build_disable_daemon'.

* release.nix (build_disable_daemon): New job.
This commit is contained in:
Ludovic Courtès 2012-12-13 22:08:33 +01:00
parent 6a95fa501f
commit b35c0f866c
1 changed files with 17 additions and 0 deletions

View File

@ -86,6 +86,23 @@ let
};
build_disable_daemon =
{ system ? builtins.currentSystem }:
let
pkgs = import nixpkgs { inherit system; };
build = jobs.build { inherit system; };
in
pkgs.lib.overrideDerivation build ({ configureFlags, ... }: {
configureFlags = configureFlags ++ [ "--disable-daemon" ];
buildInputs = with pkgs; [ guile nixUnstable pkgconfig ];
# Since we need to talk to a running daemon, we need to escape
# the chroot.
preConfigure = "export NIX_REMOTE=daemon";
__noChroot = true;
});
# Jobs to test the distro.
distro = {
hello =