forked from lix-project/lix
allow fetchFromGitHub to take a name
argument
This commit is contained in:
parent
e4b082a52b
commit
2c8240677e
|
@ -207,7 +207,7 @@ struct GitArchiveInputScheme : InputScheme
|
|||
|
||||
auto url = getDownloadUrl(input);
|
||||
|
||||
auto [tree, lastModified] = downloadTarball(store, url.url, "source", true, url.headers);
|
||||
auto [tree, lastModified] = downloadTarball(store, url.url, input.getName(), true, url.headers);
|
||||
|
||||
input.attrs.insert_or_assign("lastModified", uint64_t(lastModified));
|
||||
|
||||
|
|
Loading…
Reference in a new issue