aboutsummaryrefslogtreecommitdiff
path: root/src/nix-channel
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-03-20 18:22:49 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-03-20 18:22:49 +0100
commit03d8136b02e8c5929dfc9db91214e34bdc8089be (patch)
tree7c62e6d3b9b4891170285c2d89eafea31be28290 /src/nix-channel
parente0c15979106c670e8022a3e21f792cb91d59da30 (diff)
Remove unused channel-cache directory
Diffstat (limited to 'src/nix-channel')
-rwxr-xr-xsrc/nix-channel/nix-channel.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc
index c34f1d4b4..d1b47ede8 100755
--- a/src/nix-channel/nix-channel.cc
+++ b/src/nix-channel/nix-channel.cc
@@ -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";