mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
release.nix: Add `build_disable_daemon'.
* release.nix (build_disable_daemon): New job.
This commit is contained in:
parent
6a95fa501f
commit
b35c0f866c
1 changed files with 17 additions and 0 deletions
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 a new issue