aerc: fix config paths on darwin
This commit is contained in:
parent
81ab146262
commit
219d268a69
2 changed files with 16 additions and 7 deletions
|
|
@ -4,7 +4,11 @@ with lib;
|
|||
|
||||
{
|
||||
config = {
|
||||
nmt.script = let dir = "home-files/.config/aerc";
|
||||
nmt.script = let
|
||||
dir = if pkgs.stdenv.isDarwin then
|
||||
"home-files/Library/Preferences/aerc"
|
||||
else
|
||||
"home-files/.config/aerc";
|
||||
in ''
|
||||
assertFileContent ${dir}/accounts.conf ${./extraAccounts.expected}
|
||||
assertFileContent ${dir}/binds.conf ${./extraBinds.expected}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue