release.nix: Add `build_disable_daemon'.
* release.nix (build_disable_daemon): New job.
This commit is contained in:
parent
6a95fa501f
commit
b35c0f866c
17
release.nix
17
release.nix
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue