r-curl: help the package find curl's headers

This commit is contained in:
Peter Simons 2015-01-26 10:04:48 +01:00
parent c1ce67561d
commit 282fd58c85

View File

@ -899,6 +899,10 @@ let
]; ];
otherOverrides = old: new: { otherOverrides = old: new: {
curl = old.curl.overrideDerivation (attrs: {
preConfigure = "export CURL_INCLUDES=${pkgs.curl}/include/curl";
});
RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: { RcppArmadillo = old.RcppArmadillo.overrideDerivation (attrs: {
patchPhase = "patchShebangs configure"; patchPhase = "patchShebangs configure";
}); });