diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 14:35:01 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 14:35:01 +0200 |
commit | 1d01ae816b80eaefb0996a9605d00a3031ecd4d9 (patch) | |
tree | 1c1bd15875e1efc45b0e5075b8510c3f96c9ca74 /src/libstore/s3-binary-cache-store.cc | |
parent | 2900a441f5e2a05bc10186e37b4084acb7eca83c (diff) |
Fix 'nix verify --all' on a binary cache and add a test
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index 427dd48ce..f85563766 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -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(); |