From 48da001fd96bb9ff063b512666f5122b83bc210d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 28 Oct 2012 02:02:04 +0200 Subject: [PATCH] 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'. --- release.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.nix b/release.nix index 1f31ffc6a5..70c9269017 100644 --- a/release.nix +++ b/release.nix @@ -103,9 +103,9 @@ let # from the .drv, and importing that. pkgs.releaseTools.nixBuild { src = null; + name = "guix-hello"; phases = "buildPhase"; - buildInputs = [ guix ]; - buildPhase = "guix-build hello"; + buildPhase = "${guix}/bin/guix-build hello | tee $out"; __noChroot = true; }; };