mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/stalwart: add fallback to /var/cache/stalwart-mail
* update test to account for fallback
This commit is contained in:
parent
7457ecf7bb
commit
6cd9ce753d
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ in
|
|||
);
|
||||
in
|
||||
{
|
||||
path = "/var/cache/stalwart";
|
||||
path = if useLegacyDefault then "/var/cache/stalwart-mail" else "/var/cache/stalwart";
|
||||
resource = lib.mkIf hasHttpListener (lib.mkDefault "file://${cfg.package.webadmin}/webadmin.zip");
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ in
|
|||
|
||||
main.succeed("test-imap-read")
|
||||
|
||||
main.succeed("test -d /var/cache/stalwart/STALWART_WEBADMIN")
|
||||
main.succeed("test -d /var/cache/stalwart-mail/STALWART_WEBADMIN || test -d /var/cache/stalwart/STALWART_WEBADMIN")
|
||||
main.succeed("curl --fail http://localhost")
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue