nixos/nextcloud: fix shellcheck findings with enableStrictShellChecks enabled

This commit is contained in:
Sandro Jäckel 2024-10-14 18:16:21 +02:00
parent 659f95ed9e
commit 1ada7c1d36
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -930,7 +930,10 @@ in {
nextcloud-setup = let
c = cfg.config;
occInstallCmd = let
mkExport = { arg, value }: "export ${arg}=${value}";
mkExport = { arg, value }: ''
${arg}=${value};
export ${arg};
'';
dbpass = {
arg = "DBPASS";
value = if c.dbpassFile != null