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.
master
Ludovic Courtès 2013-04-18 22:22:30 +02:00
parent 48febeb81a
commit ea0ee755bd
1 changed files with 2 additions and 4 deletions

View File

@ -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, ":");