postgresql: fix pgxs dir in pg_config
commit21998d597bd257c1a769e2be4b7a52b5b7e482a6
authorRobin Gloster <mail@glob.in>
dateWed 27 Sep 2017, 19:19 (9 years ago)
parentc43550e
pkgs/servers/sql/postgresql/default.nix+1−1
@@ -46,7 +46,7 @@ let
4646 let path = if atLeast "9.6" then "src/common/config_info.c" else "src/bin/pg_config/pg_config.c"; in
4747 ''
4848 # Hardcode the path to pgxs so pg_config returns the path in $out
49− substituteInPlace "${path}" --replace HARDCODED_PGXS_PATH $out/lib
49+ substituteInPlace "${path}" --replace HARDCODED_PGXS_PATH $dev/lib
5050 '';
5151
5252 postInstall =