mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
postgresql.nix: Add an option for overriding the PostgreSQL package
This commit is contained in:
parent
a025e848e0
commit
0e3f03106f
@ -20,7 +20,7 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
postgresql = postgresqlAndPlugins pkgs.postgresql;
|
||||
postgresql = postgresqlAndPlugins cfg.package;
|
||||
|
||||
run = "su -s ${pkgs.stdenv.shell} postgres";
|
||||
|
||||
@ -54,6 +54,13 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
package = mkOption {
|
||||
default = pkgs.postgresql;
|
||||
description = ''
|
||||
PostgreSQL package to use.
|
||||
'';
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
default = "5432";
|
||||
description = ''
|
||||
|
Loading…
Reference in New Issue
Block a user