diff options
author | regnat <rg@regnat.ovh> | 2021-07-06 08:43:19 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-07-06 08:43:19 +0200 |
commit | 2c8240677edb94f17cc0bcd681e442c46b987013 (patch) | |
tree | e6e7f6ae496574dfba127d5c639c25f65d7f985d /src/libfetchers | |
parent | e4b082a52b4cd983b50037783a647cf39cd18bdf (diff) |
allow fetchFromGitHub to take a `name` argument
Diffstat (limited to 'src/libfetchers')
-rw-r--r-- | src/libfetchers/github.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/github.cc b/src/libfetchers/github.cc index 8352ef02d..298c05f9a 100644 --- a/src/libfetchers/github.cc +++ b/src/libfetchers/github.cc @@ -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)); |