Merge pull request #4650 from samueldr/fix/registry-config-dir
Use the appropriate config dir for the registry
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user