Skip to content

Commit

Permalink
rPackages.RPostgres: fix configure paths and includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantm committed Sep 9, 2018
1 parent 6f891ff commit 73ae8e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/r-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73ae8e5

Please sign in to comment.