mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-14 09:00:39 +02:00
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.
This commit is contained in:
@@ -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, ":");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user