forked from mirrors/nixpkgs
treewide: fix services.postgresql.extraPlugins usage
This commit is contained in:
parent
4fe5824fc7
commit
3bb72ed9fd
|
@ -384,7 +384,7 @@ in
|
|||
ensureDBOwnership = false;
|
||||
}
|
||||
];
|
||||
extraPlugins = with postgresql.pkgs; [ postgis ];
|
||||
extraPlugins = ps: with ps; [ postgis ];
|
||||
};
|
||||
|
||||
# Nginx config taken from support/nginx/mobilizon-release.conf
|
||||
|
|
|
@ -11,7 +11,7 @@ with pkgs; {
|
|||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
extraPlugins = [ pgjwt pgtap ];
|
||||
extraPlugins = ps: with ps; [ pgjwt pgtap ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -9,10 +9,10 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.postgresql = let mypg = pkgs.postgresql; in {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = mypg;
|
||||
extraPlugins = with mypg.pkgs; [
|
||||
package = pkgs.postgresql;
|
||||
extraPlugins = ps: with ps; [
|
||||
postgis
|
||||
];
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@ let
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
package = postgresql-package;
|
||||
extraPlugins = with postgresql-package.pkgs; [
|
||||
extraPlugins = ps: with ps; [
|
||||
timescaledb
|
||||
promscale_extension
|
||||
];
|
||||
|
|
|
@ -52,7 +52,7 @@ let
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
package = postgresql-package;
|
||||
extraPlugins = with postgresql-package.pkgs; [
|
||||
extraPlugins = ps: with ps; [
|
||||
timescaledb
|
||||
timescaledb_toolkit
|
||||
];
|
||||
|
|
|
@ -11,7 +11,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
|
|||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
extraPlugins = with config.services.postgresql.package.pkgs; [
|
||||
extraPlugins = ps: with ps; [
|
||||
tsja
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue