aboutsummaryrefslogtreecommitdiff
path: root/overlays/databases/postgresql/default.nix
blob: 8d1405e34e436decac1ae60ef6f2db5f4fb8e7bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
self: super: rec {
  postgresql_11_custom = super.postgresql_11.overrideAttrs(old: {
    # datadir in /var/lib/postgresql is named after psqlSchema
    passthru = old.passthru // { psqlSchema = "11.0"; };
    configureFlags = old.configureFlags ++ [ "--with-pam" ];
    buildInputs = (old.buildInputs or []) ++ [ self.pam ];
    patches = old.patches ++ [
      ./postgresql_run_socket_path.patch
    ];
  });
}