mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Fix 'nix verify --all' on a binary cache and add a test
This commit is contained in:
parent
2900a441f5
commit
1d01ae816b
5 changed files with 23 additions and 8 deletions
|
@ -410,7 +410,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore
|
|||
for (auto object : contents) {
|
||||
auto & key = object.GetKey();
|
||||
if (key.size() != 40 || !hasSuffix(key, ".narinfo")) continue;
|
||||
paths.insert(parseStorePath(storeDir + "/" + key.substr(0, key.size() - 8) + "-unknown"));
|
||||
paths.insert(parseStorePath(storeDir + "/" + key.substr(0, key.size() - 8) + "-" + MissingName));
|
||||
}
|
||||
|
||||
marker = res.GetNextMarker();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue