summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-14 23:51:20 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-14 23:57:33 +0100
commit335dd762ccf757916939886003068e6f9111a47a (patch)
tree7cb3489f30ecd16e9647f2669faa901f6838c570 /nix
parent4a44e743a0dfaa8fcaaa804b8c93a89ff68f2a97 (diff)
downloadguix-335dd762ccf757916939886003068e6f9111a47a.tar.gz
daemon: Disable use of substitutes for now.
* nix/nix-daemon/guix-daemon.cc (main): Set `settings.useSubstitutes' to
  false, and `settings.substituters' to the empty list.
Diffstat (limited to 'nix')
-rw-r--r--nix/nix-daemon/guix-daemon.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc
index 6bbea52196..1cb0987193 100644
--- a/nix/nix-daemon/guix-daemon.cc
+++ b/nix/nix-daemon/guix-daemon.cc
@@ -152,6 +152,10 @@ main (int argc, char *argv[])
 
   settings.processEnvironment ();
 
+  /* FIXME: Disable substitutes until we have something that works.  */
+  settings.useSubstitutes = false;
+  settings.substituters.clear ();
+
   argp_parse (&argp, argc, argv, 0, 0, 0);
 
   argvSaved = argv;