~ruther/guix-local

ea0ee755bd54db2c3766714946c24df4e9b94fc0 — Ludovic Courtès 13 years ago 48febeb
daemon: Really enable the substituter by default.

* nix/nix-daemon/guix-daemon.cc (main): Really enable the substituter by
  default.  Reported by Mark H. Weaver.
1 files changed, 2 insertions(+), 4 deletions(-)

M nix/nix-daemon/guix-daemon.cc
M nix/nix-daemon/guix-daemon.cc => nix/nix-daemon/guix-daemon.cc +2 -4
@@ 204,10 204,8 @@ main (int argc, char *argv[])
      settings.substituters.clear ();
      string subs = getEnv ("NIX_SUBSTITUTERS", "default");
      if (subs == "default")
	/* XXX: No substituters until we have something that works.  */
	settings.substituters.clear ();
	// settings.substituters.push_back (settings.nixLibexecDir
	// 				 + "/guix/substitute-binary");
	settings.substituters.push_back (settings.nixLibexecDir
					 + "/guix/substitute-binary");
      else
	settings.substituters = tokenizeString<Strings> (subs, ":");