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>
wip/yesman
Austin Seipp 6 years ago
parent 3cac599628
commit 73f56ae191
  1. 8
      pkgs/servers/sql/postgresql/default.nix
  2. 0
      pkgs/servers/sql/postgresql/patches/disable-resolve_symlinks-94.patch
  3. 0
      pkgs/servers/sql/postgresql/patches/disable-resolve_symlinks.patch
  4. 0
      pkgs/servers/sql/postgresql/patches/hardcode-pgxs-path-96.patch
  5. 0
      pkgs/servers/sql/postgresql/patches/hardcode-pgxs-path.patch
  6. 0
      pkgs/servers/sql/postgresql/patches/less-is-more-96.patch
  7. 0
      pkgs/servers/sql/postgresql/patches/less-is-more.patch
  8. 0
      pkgs/servers/sql/postgresql/patches/specify_pkglibdir_at_runtime.patch

@ -48,10 +48,10 @@ let
] ++ lib.optionals icuEnabled [ "--with-icu" ];
patches =
[ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch)
(if atLeast "9.6" then ./less-is-more-96.patch else ./less-is-more.patch)
(if atLeast "9.6" then ./hardcode-pgxs-path-96.patch else ./hardcode-pgxs-path.patch)
./specify_pkglibdir_at_runtime.patch
[ (if atLeast "9.4" then ./patches/disable-resolve_symlinks-94.patch else ./patches/disable-resolve_symlinks.patch)
(if atLeast "9.6" then ./patches/less-is-more-96.patch else ./patches/less-is-more.patch)
(if atLeast "9.6" then ./patches/hardcode-pgxs-path-96.patch else ./patches/hardcode-pgxs-path.patch)
./patches/specify_pkglibdir_at_runtime.patch
];
installTargets = [ "install-world" ];

Loading…
Cancel
Save