1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

postgresql: fix pgxs dir in pg_config

This commit is contained in:
Robin Gloster 2017-09-27 19:19:14 +02:00
parent c43550effa
commit 21998d597b
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -46,7 +46,7 @@ let
let path = if atLeast "9.6" then "src/common/config_info.c" else "src/bin/pg_config/pg_config.c"; in
''
# Hardcode the path to pgxs so pg_config returns the path in $out
substituteInPlace "${path}" --replace HARDCODED_PGXS_PATH $out/lib
substituteInPlace "${path}" --replace HARDCODED_PGXS_PATH $dev/lib
'';
postInstall =