From f03da4a0086a937409d07b27b3dac3b2e60cc0d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Wed, 31 Oct 2012 00:22:39 +0100
Subject: [PATCH] release.nix: Use `--no-substitutes' in `distro.hello'.

* release.nix (distro.hello): Use `guix-build --no-substitutes', to
  avoid failures due to unavailable stale substitutes on
  hydra.nixos.org.
---
 release.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release.nix b/release.nix
index 70c9269017e..05a14a89cfe 100644
--- a/release.nix
+++ b/release.nix
@@ -97,7 +97,7 @@ 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
+          # XXX: We have no way to tell the Nix code 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.
@@ -105,7 +105,7 @@ let
             src = null;
             name = "guix-hello";
             phases = "buildPhase";
-            buildPhase = "${guix}/bin/guix-build hello | tee $out";
+            buildPhase = "${guix}/bin/guix-build --no-substitutes hello | tee $out";
             __noChroot = true;
           };
     };
-- 
GitLab