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

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