We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c6858c commit 23281bbCopy full SHA for 23281bb
modules/postgres.nix
@@ -260,7 +260,7 @@ in
260
261
# install/update pg_stat_statements extension in all databases
262
# 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:
+ (lib.mkIf (cfg.enableAllPreloadedLibraries || cfg.configurePgStatStatements) (lib.concatStrings (map (db:
264
(lib.concatMapStringsSep "\n" (ext: /* bash */ ''
265
$PSQL -tAd "${db}" -c "CREATE EXTENSION IF NOT EXISTS ${ext}"
266
$PSQL -tAd "${db}" -c "ALTER EXTENSION ${ext} UPDATE"
0 commit comments