aboutsummaryrefslogblamecommitdiff
path: root/flakes/mypackages/overlays/databases/postgresql/default.nix
blob: 52872329f1d5727f03e80bc3ed4c433f6334e274 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  

                                                              



                                                              

     
self: super: rec {
  postgresql_system = super.postgresql_11;
  postgresql_pam = self.postgresql_system.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 ];
  });
}