summaryrefslogblamecommitdiff
path: root/overlays/databases/postgresql/default.nix
blob: 9ada29c99343181160280ed697e8fcbd6a85d27d (plain) (tree)
1
2
3
4
5
6
7
8
                  
                                                           



                                                              

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