git.iko.soy/typeable/nixpkgs
on master help sign in
R: 3.5.3 -> 3.6.0

The patch is necessary for the test suite to pass without errors. The fix has already been made upstream but didn't make it into the 3.6.0 release. Closes https://github.com/NixOS/nixpkgs/pull/60273.

commit4264ad4c2b94aa512d2401f0880265493b6cb39e authorAlex Branham <alex.branham@gmail.com> dateFri 26 Apr 2019, 07:34 (8 years ago) parent83886b3
1 file changed+10−4
pkgs/applications/science/math/R/default.nix+10−4
pkgs/applications/science/math/R/default.nix+10−4
@@ -1,18 +1,18 @@
11{ stdenv, fetchurl, bzip2, gfortran, libX11, libXmu, libXt, libjpeg, libpng
22, libtiff, ncurses, pango, pcre, perl, readline, tcl, texLive, tk, xz, zlib
33, less, texinfo, graphviz, icu, pkgconfig, bison, imake, which, jdk, openblas
4−, curl, Cocoa, Foundation, libobjc, libcxx, tzdata
4+, curl, Cocoa, Foundation, libobjc, libcxx, tzdata, fetchpatch
55, withRecommendedPackages ? true
66, enableStrictBarrier ? false
77, javaSupport ? (!stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64)
88}:
99
1010stdenv.mkDerivation rec {
11− name = "R-3.5.3";
11+ name = "R-3.6.0";
1212
1313 src = fetchurl {
1414 url = "https://cran.r-project.org/src/base/R-3/${name}.tar.gz";
15− sha256 = "1337irx9y0r3jm1rcq1dcwnxsgfhnvgjs5wadcyh17vhpnvkgyib";
15+ sha256 = "02bmylmzrm9sdidirmwy233lghmd2346z725ca71ari68lzarz1n";
1616 };
1717
1818 dontUseImakeConfigure = true;
@@ -25,7 +25,13 @@ stdenv.mkDerivation rec {
2525 ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]
2626 ++ stdenv.lib.optional javaSupport jdk;
2727
28− patches = [ ./no-usr-local-search-paths.patch ];
28+ patches = [
29+ ./no-usr-local-search-paths.patch
30+ (fetchpatch {
31+ url = "https://github.com/wch/r-source/commit/aeb75e12863019be06fe6c762ab705bf5ed8b38c.patch";
32+ sha256 = "03xv1g1yw1dbhx4paw6pn6hkawj8sny86km3748l1vnasbham82g";
33+ })
34+ ];
2935
3036 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
3137 substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"