- postgresql_11 = if builtins.hasAttr "postgresql_11" super
- then super.postgresql_11.overrideAttrs(old: rec {
- 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
- ];
- })
- else super.postgresql100.overrideAttrs(old: rec {
- passthru = old.passthru // { psqlSchema = "11.0"; };
- name = "postgresql-11.1";
- src = self.fetchurl {
- url = "mirror://postgresql/source/v11.1/${name}.tar.bz2";
- sha256 = "026v0sicsh7avzi45waf8shcbhivyxmi7qgn9fd1x0vl520mx0ch";
- };
- configureFlags = old.configureFlags ++ [ "--with-pam" ];
- buildInputs = (old.buildInputs or []) ++ [ self.pam ];
- patches = old.patches ++ [
- ./postgresql_run_socket_path.patch
- ];
- });
+ postgresql_11 = super.postgresql_11.overrideAttrs(old: rec {
+ 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
+ ];
+ });