mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36: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
|
||||
configPath =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
"Library/Preferences/org.IntelliShell.Intelli-Shell"
|
||||
"Library/Application Support/org.IntelliShell.Intelli-Shell"
|
||||
else
|
||||
".config/intelli-shell";
|
||||
in
|
||||
|
|
|
|||
|
|
@ -27,13 +27,13 @@
|
|||
let
|
||||
configPath =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
"Library/Preferences/org.IntelliShell.Intelli-Shell"
|
||||
"Library/Application Support/org.IntelliShell.Intelli-Shell"
|
||||
else
|
||||
".config/intelli-shell";
|
||||
in
|
||||
''
|
||||
assertFileExists home-files/${configPath}/config.toml
|
||||
assertFileContent home-files/${configPath}/config.toml \
|
||||
assertFileExists 'home-files/${configPath}/config.toml'
|
||||
assertFileContent 'home-files/${configPath}/config.toml' \
|
||||
${./config.toml}
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue