about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-06-20T10·01+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-06-20T10·01+0200
commit9b11165aec8639b021527978603423826b6b9cc3 (patch)
treeae6fb5d7006ef6a81a22009115c441abbc5c9b84 /src/libstore
parent22144afa8d9f8968da351618a1347072a93bd8aa (diff)
Disable the copy-from-other-stores substituter
This substituter basically cannot work reliably since we switched to
SQLite, since SQLite databases may need write access to open them even
just for reading (and in WAL mode they always do).
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index b5a2a20bee44..d17bd947d3da 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -70,8 +70,10 @@ void Settings::processEnvironment()
 
     string subs = getEnv("NIX_SUBSTITUTERS", "default");
     if (subs == "default") {
+#if 0
         if (getEnv("NIX_OTHER_STORES") != "")
             substituters.push_back(nixLibexecDir + "/nix/substituters/copy-from-other-stores.pl");
+#endif
         substituters.push_back(nixLibexecDir + "/nix/substituters/download-using-manifests.pl");
         substituters.push_back(nixLibexecDir + "/nix/substituters/download-from-binary-cache.pl");
     } else