Install postgresql extensions under $out/share/postgresql

This fixes extensions after #62271 moved files from `$out/share` to
`$out/share/postgresql`.
This commit is contained in:
Erlend Hamberg
2019-07-01 16:24:44 +02:00
parent 52d5b7a144
commit 80aadbec60
20 changed files with 33 additions and 33 deletions
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
installPhase = ''
install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl
install -D -t $out/lib src/monitor/pgautofailover.so
install -D -t $out/share/extension src/monitor/*.sql
install -D -t $out/share/extension src/monitor/pgautofailover.control
install -D -t $out/share/postgresql/extension src/monitor/*.sql
install -D -t $out/share/postgresql/extension src/monitor/pgautofailover.control
'';
meta = with stdenv.lib; {