Merge pull request #192890 from Enzime/fix/nextcloud-space-passwords

nixos/nextcloud: handle passwords with spaces
This commit is contained in:
Maximilian Bosch 2022-11-08 18:02:04 +01:00 committed by GitHub
commit 176676c4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -823,9 +823,9 @@ in {
${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"'';
${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"'';
${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"'';
"--database-pass" = "\$${dbpass.arg}";
"--database-pass" = "\"\$${dbpass.arg}\"";
"--admin-user" = ''"${c.adminuser}"'';
"--admin-pass" = "\$${adminpass.arg}";
"--admin-pass" = "\"\$${adminpass.arg}\"";
"--data-dir" = ''"${datadir}/data"'';
});
in ''