diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 98f0ef3218b1..fc08ccd86548 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -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