mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-10 22:30:59 +00:00
nixos/vaultwarden: fix eval
This commit is contained in:
@@ -168,7 +168,7 @@ in {
|
|||||||
message = "Backups for database backends other than sqlite will need customization";
|
message = "Backups for database backends other than sqlite will need customization";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = !(lib.hasPrefix dataDir cfg.backupDir);
|
assertion = cfg.backupDir != null -> !(lib.hasPrefix dataDir cfg.backupDir);
|
||||||
message = "Backup directory can not be in ${dataDir}";
|
message = "Backup directory can not be in ${dataDir}";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user