mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
fix config file location on macOS and fix test
This commit is contained in:
parent
990e5ce679
commit
ed1eb4cfdd
2 changed files with 4 additions and 4 deletions
|
|
@ -80,7 +80,7 @@ in
|
||||||
let
|
let
|
||||||
configPath =
|
configPath =
|
||||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
"Library/Preferences/org.IntelliShell.Intelli-Shell"
|
"Library/Application Support/org.IntelliShell.Intelli-Shell"
|
||||||
else
|
else
|
||||||
".config/intelli-shell";
|
".config/intelli-shell";
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -27,13 +27,13 @@
|
||||||
let
|
let
|
||||||
configPath =
|
configPath =
|
||||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||||
"Library/Preferences/org.IntelliShell.Intelli-Shell"
|
"Library/Application Support/org.IntelliShell.Intelli-Shell"
|
||||||
else
|
else
|
||||||
".config/intelli-shell";
|
".config/intelli-shell";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
assertFileExists home-files/${configPath}/config.toml
|
assertFileExists 'home-files/${configPath}/config.toml'
|
||||||
assertFileContent home-files/${configPath}/config.toml \
|
assertFileContent 'home-files/${configPath}/config.toml' \
|
||||||
${./config.toml}
|
${./config.toml}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue