release.nix: Change `distro.hello' to produce something.

* release.nix (distro.hello)[buildPhase]: Tee the log to $out.  Add a
  `name' attribute; remove `buildInputs' and instead use the full path
  to `guix-build'.
This commit is contained in:
Ludovic Courtès 2012-10-28 02:02:04 +02:00
parent d6ed71cbf4
commit 48da001fd9
1 changed files with 2 additions and 2 deletions

View File

@ -103,9 +103,9 @@ let
# from the .drv, and importing that. # from the .drv, and importing that.
pkgs.releaseTools.nixBuild { pkgs.releaseTools.nixBuild {
src = null; src = null;
name = "guix-hello";
phases = "buildPhase"; phases = "buildPhase";
buildInputs = [ guix ]; buildPhase = "${guix}/bin/guix-build hello | tee $out";
buildPhase = "guix-build hello";
__noChroot = true; __noChroot = true;
}; };
}; };