Merge: nixos/nextcloud: fix shellcheck findings with enableStrictShellChecks enabled (#349558)

This commit is contained in:
Maximilian Bosch 2024-10-18 23:57:53 +02:00 committed by GitHub
commit c5b89642bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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