From 9b11165aec8639b021527978603423826b6b9cc3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Jun 2013 12:01:33 +0200 Subject: [PATCH] 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). --- src/libstore/globals.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index b5a2a20be..d17bd947d 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