Merge pull request #56781 from timokau/sage-python-upgrade-fixes

Sage python upgrade fixes
This commit is contained in:
Timo Kaufmann
2019-03-03 20:48:10 +01:00
committed by GitHub
4 changed files with 31 additions and 0 deletions

View File

@@ -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.