Skip to content

Commit 23281bb

Browse files
committed
postgres: fix double cfg on pg_stat_statements install
1 parent 3c6858c commit 23281bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/postgres.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ in
260260

261261
# install/update pg_stat_statements extension in all databases
262262
# based on https://git.catgirl.cloud/999eagle/dotfiles-nix/-/blob/main/modules/system/server/postgres/default.nix#L294-302
263-
(lib.mkIf (cfg.enableAllPreloadedLibraries || cfg.cfg.configurePgStatStatements) (lib.concatStrings (map (db:
263+
(lib.mkIf (cfg.enableAllPreloadedLibraries || cfg.configurePgStatStatements) (lib.concatStrings (map (db:
264264
(lib.concatMapStringsSep "\n" (ext: /* bash */ ''
265265
$PSQL -tAd "${db}" -c "CREATE EXTENSION IF NOT EXISTS ${ext}"
266266
$PSQL -tAd "${db}" -c "ALTER EXTENSION ${ext} UPDATE"

0 commit comments

Comments
 (0)