nixos/nextcloud: fix shellcheck findings with enableStrictShellChecks enabled

This commit is contained in:
Sandro Jäckel
2024-10-14 18:20:25 +02:00
parent 659f95ed9e
commit 1ada7c1d36
@@ -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