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.
This commit is contained in:
Ludovic Courtès 2012-10-31 00:22:39 +01:00
parent 34811f02bf
commit f03da4a008
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
guix = jobs.build { inherit system; }; guix = jobs.build { inherit system; };
in 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 # produced by `guix-build', so we have a pointless indirection
# here. This could be worked around by generating Nix code # here. This could be worked around by generating Nix code
# from the .drv, and importing that. # from the .drv, and importing that.
@ -105,7 +105,7 @@ let
src = null; src = null;
name = "guix-hello"; name = "guix-hello";
phases = "buildPhase"; phases = "buildPhase";
buildPhase = "${guix}/bin/guix-build hello | tee $out"; buildPhase = "${guix}/bin/guix-build --no-substitutes hello | tee $out";
__noChroot = true; __noChroot = true;
}; };
}; };