navi: handle xdg directory on darwin (#6589)

When xdg is enabled, use the xdg config home on darwin.
This commit is contained in:
Austin Horstman
2025-03-08 12:56:34 -06:00
committed by GitHub
parent b2314312f2
commit 20a6b3631b

View File

@@ -7,7 +7,7 @@ let
yamlFormat = pkgs.formats.yaml { };
configDir = if pkgs.stdenv.isDarwin then
configDir = if pkgs.stdenv.isDarwin && !config.xdg.enable then
"Library/Application Support"
else
config.xdg.configHome;