1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-30 14:10:59 +01:00

Revert "libfetchers/tarball: Lock on effectiveUrl"

This reverts commit fc6bfb261d.

Fixes #4672.
This commit is contained in:
Eelco Dolstra 2021-04-09 13:51:57 +02:00
parent 906adadacd
commit 42f0246698
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 9 additions and 24 deletions

View file

@ -145,13 +145,7 @@ DownloadFileResult downloadFile(
bool immutable,
const Headers & headers = {});
struct DownloadTarballMeta
{
time_t lastModified;
std::string effectiveUrl;
};
std::pair<Tree, DownloadTarballMeta> downloadTarball(
std::pair<Tree, time_t> downloadTarball(
ref<Store> store,
const std::string & url,
const std::string & name,