mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Use the appropriate config dir for the registry
This commit is contained in:
parent
bf07581497
commit
66b857244f
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue