forked from lix-project/lix
Remove unused channel-cache directory
This commit is contained in:
parent
e0c1597910
commit
03d8136b02
|
@ -162,11 +162,6 @@ int main(int argc, char ** argv)
|
||||||
return handleExceptions(argv[0], [&]() {
|
return handleExceptions(argv[0], [&]() {
|
||||||
initNix();
|
initNix();
|
||||||
|
|
||||||
// Turn on caching in nix-prefetch-url.
|
|
||||||
auto channelCache = settings.nixStateDir + "/channel-cache";
|
|
||||||
createDirs(channelCache);
|
|
||||||
setenv("NIX_DOWNLOAD_CACHE", channelCache.c_str(), 1);
|
|
||||||
|
|
||||||
// Figure out the name of the `.nix-channels' file to use
|
// Figure out the name of the `.nix-channels' file to use
|
||||||
auto home = getHome();
|
auto home = getHome();
|
||||||
channelsList = home + "/.nix-channels";
|
channelsList = home + "/.nix-channels";
|
||||||
|
|
Loading…
Reference in a new issue