set path to nar in narinfo
This commit is contained in:
parent
d524222a86
commit
7dec14fc1a
2 changed files with 2 additions and 2 deletions
|
@ -57,6 +57,8 @@ impl<'a> Uploader<'a> {
|
|||
debug!("moving {} to {}", temp_path, real_path);
|
||||
// this is implemented as a copy-and-delete
|
||||
s3.rename(&temp_path, &real_path).await?;
|
||||
// set nar url in narinfo
|
||||
nar_info.url = real_path.as_ref();
|
||||
|
||||
// upload narinfo
|
||||
let narinfo_path = self.path.narinfo_path();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue