option

services.postgresql.extraPlugins

When this list contains elements a new store path is created. PostgreSQL and the elements are symlinked into it. Then pg_config, postgres and pg_ctl are copied to make them use the new $out/lib directory as pkglibdir. This makes it possible to use postgis without patching the .sql files which reference $libdir/postgis-1.5.

Declarations
Type
list of (path)
Default
[ ]
Example
[ (pkgs.postgis.override { postgresql = pkgs.postgresql94; }) ]