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:
parent
906adadacd
commit
42f0246698
3 changed files with 9 additions and 24 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue