Skip to content
Snippets Groups Projects
Commit 9144af5a authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

release.nix: Add a `distro.hello' job.

* release.nix (distro.hello): New job.
parent 5992f213
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,29 @@ let ...@@ -86,6 +86,29 @@ let
inherit succeedOnFailure keepBuildDirectory inherit succeedOnFailure keepBuildDirectory
buildOutOfSourceTree; buildOutOfSourceTree;
}; };
# Jobs to test the distro.
distro = {
hello =
{ system ? builtins.currentSystem }:
let
pkgs = import nixpkgs { inherit system; };
guix = jobs.build { inherit system; };
in
# XXX: We have no way to tell the Nix to swallow the .drv
# produced by `guix-build', so we have a pointless indirection
# here. This could be worked around by generating Nix code
# from the .drv, and importing that.
pkgs.releaseTools.nixBuild {
src = null;
phases = "buildPhase";
buildInputs = [ guix ];
buildPhase = "guix-build hello";
__noChroot = true;
};
};
}; };
in in
jobs jobs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment