nixpkgs: move postgresql patches into a common directory

This simply makes it easier to browse the PostgreSQL package directory. More to
come.

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+4 -4
+4 -4
pkgs/servers/sql/postgresql/default.nix
··· 48 48 ] ++ lib.optionals icuEnabled [ "--with-icu" ]; 49 49 50 50 patches = 51 - [ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch) 52 - (if atLeast "9.6" then ./less-is-more-96.patch else ./less-is-more.patch) 53 - (if atLeast "9.6" then ./hardcode-pgxs-path-96.patch else ./hardcode-pgxs-path.patch) 54 - ./specify_pkglibdir_at_runtime.patch 51 + [ (if atLeast "9.4" then ./patches/disable-resolve_symlinks-94.patch else ./patches/disable-resolve_symlinks.patch) 52 + (if atLeast "9.6" then ./patches/less-is-more-96.patch else ./patches/less-is-more.patch) 53 + (if atLeast "9.6" then ./patches/hardcode-pgxs-path-96.patch else ./patches/hardcode-pgxs-path.patch) 54 + ./patches/specify_pkglibdir_at_runtime.patch 55 55 ]; 56 56 57 57 installTargets = [ "install-world" ];
pkgs/servers/sql/postgresql/disable-resolve_symlinks.patch pkgs/servers/sql/postgresql/patches/disable-resolve_symlinks.patch
pkgs/servers/sql/postgresql/hardcode-pgxs-path-96.patch pkgs/servers/sql/postgresql/patches/hardcode-pgxs-path-96.patch
pkgs/servers/sql/postgresql/hardcode-pgxs-path.patch pkgs/servers/sql/postgresql/patches/hardcode-pgxs-path.patch
pkgs/servers/sql/postgresql/less-is-more-96.patch pkgs/servers/sql/postgresql/patches/less-is-more-96.patch
pkgs/servers/sql/postgresql/less-is-more.patch pkgs/servers/sql/postgresql/patches/less-is-more.patch
pkgs/servers/sql/postgresql/specify_pkglibdir_at_runtime.patch pkgs/servers/sql/postgresql/patches/specify_pkglibdir_at_runtime.patch