Skip to content

Commit

Permalink
Remove unused channel-cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 20, 2018
1 parent e0c1597 commit 03d8136
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/nix-channel/nix-channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ int main(int argc, char ** argv)
return handleExceptions(argv[0], [&]() {
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
auto home = getHome();
channelsList = home + "/.nix-channels";
Expand Down

0 comments on commit 03d8136

Please sign in to comment.