rPackages.rrd: fix build

This commit is contained in:
Justin Bedo 2021-11-04 21:16:51 +11:00
parent 7264b569ac
commit 71723e1f68
No known key found for this signature in database
GPG Key ID: 2C18202C56C182BD

View File

@ -449,6 +449,7 @@ let
QF = [ pkgs.gsl ];
PICS = [ pkgs.gsl ];
RcppCWB = [ pkgs.pkg-config ];
rrd = [ pkgs.pkg-config ];
};
packagesWithBuildInputs = {
@ -592,6 +593,7 @@ let
scModels = [ pkgs.mpfr.dev ];
multibridge = [ pkgs.mpfr.dev ];
RcppCWB = with pkgs; [ pcre.dev glib.dev ];
rrd = [ pkgs.rrdtool ];
};
packagesRequiringX = [
@ -1218,6 +1220,12 @@ let
--replace "-lsqlite3" "-L${lib.makeLibraryPath [ pkgs.sqlite ]} -lsqlite3"
'';
});
rrd = old.rrd.overrideDerivation (attrs: {
preConfigure = ''
patchShebangs configure
'';
});
};
in
self