We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent c42739a commit 02bb7c2Copy full SHA for 02bb7c2
nixos/modules/services/misc/gitlab.nix
@@ -528,7 +528,7 @@ in {
528
ln -fs ${cfg.packages.gitlab-shell}/hooks "$GITLAB_SHELL_HOOKS_PATH"
529
${cfg.packages.gitlab-shell}/bin/install
530
531
- if [ "${cfg.databaseHost}" == "127.0.0.1" ]; then
+ if [ "${cfg.databaseHost}" = "127.0.0.1" ]; then
532
if ! test -e "${cfg.statePath}/db-created"; then
533
psql postgres -c "CREATE ROLE ${cfg.databaseUsername} WITH LOGIN NOCREATEDB NOCREATEROLE NOCREATEUSER ENCRYPTED PASSWORD '${cfg.databasePassword}'"
534
${config.services.postgresql.package}/bin/createdb --owner ${cfg.databaseUsername} ${cfg.databaseName} || true
0 commit comments