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).
This commit is contained in:
Eelco Dolstra 2013-06-20 12:01:33 +02:00
parent 22144afa8d
commit 9b11165aec
1 changed files with 2 additions and 0 deletions

View File

@ -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