diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-20T17·22+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-20T17·22+0100 |
commit | 03d8136b02e8c5929dfc9db91214e34bdc8089be (patch) | |
tree | 7c62e6d3b9b4891170285c2d89eafea31be28290 /src | |
parent | e0c15979106c670e8022a3e21f792cb91d59da30 (diff) |
Remove unused channel-cache directory
Diffstat (limited to 'src')
-rwxr-xr-x | src/nix-channel/nix-channel.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc index c34f1d4b4c9e..d1b47ede803f 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"; |