aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/fetchers/registry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/fetchers/registry.cc')
-rw-r--r--src/libstore/fetchers/registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/fetchers/registry.cc b/src/libstore/fetchers/registry.cc
index 0aac18375..638e6e50a 100644
--- a/src/libstore/fetchers/registry.cc
+++ b/src/libstore/fetchers/registry.cc
@@ -130,7 +130,7 @@ static std::shared_ptr<Registry> getGlobalRegistry(ref<Store> store)
if (!hasPrefix(path, "/"))
// FIXME: register as GC root.
// FIXME: if download fails, use previous version if available.
- path = store->toRealPath(downloadFile(store, path, "flake-registry.json", false));
+ path = store->toRealPath(downloadFile(store, path, "flake-registry.json", false).storePath);
return Registry::read(path, Registry::Global);
}();