diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 28671fd847f0..f5851dfc831e 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -899,6 +899,10 @@ let ]; otherOverrides = old: new: { + curl = old.curl.overrideDerivation (attrs: { + preConfigure = "export CURL_INCLUDES=${pkgs.curl}/include/curl"; + }); + RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: { patchPhase = "patchShebangs configure"; });