aboutsummaryrefslogtreecommitdiff
path: root/overlays/databases
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/databases')
-rw-r--r--overlays/databases/mysql/default.nix5
-rw-r--r--overlays/databases/postgresql/default.nix3
2 files changed, 6 insertions, 2 deletions
diff --git a/overlays/databases/mysql/default.nix b/overlays/databases/mysql/default.nix
index 24bad1b..5e40284 100644
--- a/overlays/databases/mysql/default.nix
+++ b/overlays/databases/mysql/default.nix
@@ -3,5 +3,10 @@ self: super: rec {
3 mariadbPAM = super.mariadb.overrideAttrs(old: { 3 mariadbPAM = super.mariadb.overrideAttrs(old: {
4 cmakeFlags = old.cmakeFlags ++ [ "-DWITH_AUTHENTICATION_PAM=ON" ]; 4 cmakeFlags = old.cmakeFlags ++ [ "-DWITH_AUTHENTICATION_PAM=ON" ];
5 buildInputs = old.buildInputs ++ [ self.pam ]; 5 buildInputs = old.buildInputs ++ [ self.pam ];
6 }) // (with super.mariadb; {
7 inherit client;
8 servier = super.mariadb;
9 inherit connector-c;
10 inherit galera;
6 }); 11 });
7} 12}
diff --git a/overlays/databases/postgresql/default.nix b/overlays/databases/postgresql/default.nix
index 8dec7ff..8d1405e 100644
--- a/overlays/databases/postgresql/default.nix
+++ b/overlays/databases/postgresql/default.nix
@@ -1,6 +1,5 @@
1self: super: rec { 1self: super: rec {
2 postgresql = postgresql_11; 2 postgresql_11_custom = super.postgresql_11.overrideAttrs(old: {
3 postgresql_11 = super.postgresql_11.overrideAttrs(old: {
4 # datadir in /var/lib/postgresql is named after psqlSchema 3 # datadir in /var/lib/postgresql is named after psqlSchema
5 passthru = old.passthru // { psqlSchema = "11.0"; }; 4 passthru = old.passthru // { psqlSchema = "11.0"; };
6 configureFlags = old.configureFlags ++ [ "--with-pam" ]; 5 configureFlags = old.configureFlags ++ [ "--with-pam" ];