about summary refs log tree commit diff
path: root/pkgs/development/r-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-26 10:04:48 +0100
committerPeter Simons <simons@cryp.to>2015-01-26 10:23:34 +0100
commit282fd58c85633c2dc5bdc46f4dfca5ef322c9493 (patch)
tree5f0cf53878b4e3352f215718f01f30c2de0f9e16 /pkgs/development/r-modules
parentc1ce67561d7a0faf96c905b676f5c256bcb26719 (diff)
downloadnixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar.gz
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar.bz2
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar.lz
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar.xz
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.tar.zst
nixlib-282fd58c85633c2dc5bdc46f4dfca5ef322c9493.zip
r-curl: help the package find curl's headers
Diffstat (limited to 'pkgs/development/r-modules')
-rw-r--r--pkgs/development/r-modules/default.nix4
1 files changed, 4 insertions, 0 deletions
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";
     });