diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-06-25T11·27+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-25T11·27+0200 |
commit | 88571219d97f2bdfdbafcff25ef6ee424b0b008f (patch) | |
tree | 76030dc84fb2ac15d0fbc28fb7f6198a240c8d57 /src/nix-channel | |
parent | 09dde33c19129b949a064d35e248a3e318178b08 (diff) |
nix-channel: Don't fetch binary-cache-url
This has been ignored since the Perl->C++ rewrite.
Diffstat (limited to 'src/nix-channel')
-rwxr-xr-x | src/nix-channel/nix-channel.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc index bd1371dbae3c..06eb3d23ba83 100755 --- a/src/nix-channel/nix-channel.cc +++ b/src/nix-channel/nix-channel.cc @@ -113,15 +113,6 @@ static void update(const StringSet & channelNames) } if (!unpacked) { - // The URL doesn't unpack directly, so let's try treating it like a full channel folder with files in it - // Check if the channel advertises a binary cache. - DownloadRequest request(url + "/binary-cache-url"); - try { - auto dlRes = dl->download(request); - extraAttrs = "binaryCacheURL = \"" + *dlRes.data + "\";"; - } catch (DownloadError & e) { - } - // Download the channel tarball. try { filename = dl->downloadCached(store, CachedDownloadRequest(url + "/nixexprs.tar.xz")).path; |