~ruther/guix-local

b35c0f866c83288e64dcf5839d908705d416c317 — Ludovic Courtès 13 years ago 6a95fa5
release.nix: Add `build_disable_daemon'.

* release.nix (build_disable_daemon): New job.
1 files changed, 17 insertions(+), 0 deletions(-)

M release.nix
M release.nix => release.nix +17 -0
@@ 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 =