3
0
Fork 0
forked from mirrors/nixpkgs

rPackages.RPostgres: fix configure paths and includes

closes #46208
This commit is contained in:
Ryan Mulligan 2018-09-09 14:36:03 -07:00
parent 6f891ff66e
commit 73ae8e53e2

View file

@ -906,6 +906,14 @@ let
TCLLIBPATH = "${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}";
});
RPostgres = old.RPostgres.overrideDerivation (attrs: {
preConfigure = ''
export INCLUDE_DIR=${pkgs.postgresql}/include
export LIB_DIR=${pkgs.postgresql.lib}/lib
patchShebangs configure
'';
});
OpenMx = old.OpenMx.overrideDerivation (attrs: {
preConfigure = ''
patchShebangs configure