From 6799fcb42b25b41e9674f459c6817d232192d6fa Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 23 Apr 2018 11:57:56 +0200 Subject: [PATCH] R: 3.4.4 -> 3.5.0 Unfortunately, the new version fails its test suite AGAIN when the recommended packages are not build. Makes one wonder whether maybe we should offer the R developers CI builds that check this. I've reported the issue upstream, let's see what happens. --- pkgs/applications/science/math/R/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index a9b2de1a00c..953f4e62c22 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -7,11 +7,11 @@ }: stdenv.mkDerivation rec { - name = "R-3.4.4"; + name = "R-3.5.0"; src = fetchurl { url = "http://cran.r-project.org/src/base/R-3/${name}.tar.gz"; - sha256 = "0dq3jsnwsb5j3fhl0wi3p5ycv8avf8s5j1y4ap3d2mkjmcppvsdk"; + sha256 = "0w38865laqg28cdhikxdxhx4rfp0kgcn72gakwypsy91br9ja5zx"; }; buildInputs = [ @@ -65,7 +65,8 @@ stdenv.mkDerivation rec { installTargets = [ "install" "install-info" "install-pdf" ]; - doCheck = true; + doCheck = withRecommendedPackages; # R 3.5.0 fails the test suite if the + # recommended packages are not built preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'"; enableParallelBuilding = true;