aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/registry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfetchers/registry.cc')
-rw-r--r--src/libfetchers/registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/registry.cc b/src/libfetchers/registry.cc
index 81b2227de..74376adc0 100644
--- a/src/libfetchers/registry.cc
+++ b/src/libfetchers/registry.cc
@@ -114,7 +114,7 @@ static std::shared_ptr<Registry> getSystemRegistry()
Path getUserRegistryPath()
{
- return getHome() + "/.config/nix/registry.json";
+ return getConfigDir() + "/nix/registry.json";
}
std::shared_ptr<Registry> getUserRegistry()