aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rpy2/default.nix
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-03-03 13:24:43 +0100
committerTimo Kaufmann <timokau@zoho.com>2019-03-03 13:24:43 +0100
commitc6e4e1dbdffd5d2068ff182608e29a9055ab4188 (patch)
tree805dfea967c76dff1e12320e559b63fc4962df7c /pkgs/development/python-modules/rpy2/default.nix
parent2de81ee78fb62b257c5dff135964fc8b08504e5c (diff)
python.pkgs.rpy2: fix strictDeps fallout
See https://github.com/NixOS/nixpkgs/pull/54182 and https://github.com/NixOS/nixpkgs/pull/55757.
Diffstat (limited to '')
-rw-r--r--pkgs/development/python-modules/rpy2/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix
index 7ff5b0343ea1..1b4ab4d40db9 100644
--- a/pkgs/development/python-modules/rpy2/default.nix
+++ b/pkgs/development/python-modules/rpy2/default.nix
@@ -58,6 +58,10 @@ buildPythonPackage rec {
tidyr
]) ++ extraRPackages ++ rWrapper.recommendedPackages;
+ nativeBuildInputs = [
+ R # needed at setup time to detect R_HOME (alternatively set R_HOME explicitly)
+ ];
+
patches = [
# R_LIBS_SITE is used by the nix r package to point to the installed R libraries.
# This patch sets R_LIBS_SITE when rpy2 is imported.