Merge pull request #332919 from K900/vaultwarden-eval

nixos/vaultwarden: fix eval
This commit is contained in:
K900 2024-08-07 09:53:40 +03:00 committed by GitHub
commit 2de65f4a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,7 @@ in {
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}";
}
];