mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
Merge pull request #4650 from samueldr/fix/registry-config-dir
Use the appropriate config dir for the registry
This commit is contained in:
commit
d1cb956bf2
2 changed files with 33 additions and 7 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