sage: add compatibility for R 3.6.0

The random number generator seems to have changed. Because of this, a
trivial test adjustment is needed.

authored by Timo Kaufmann and committed by Peter Simons 6dabc28c 4264ad4c

+7
+7
pkgs/applications/science/math/sage/sage-src.nix
··· 134 134 url = "https://git.sagemath.org/sage.git/patch?id=d3483110474591ea6cc8e3210cd884f3e0018b3e"; 135 135 sha256 = "028i6h8l8npwzx5z0ax0rcywl85gc83qw1jf93zf523msdfcsk0n"; 136 136 }) 137 + 138 + # https://trac.sagemath.org/ticket/27738 139 + (fetchpatch { 140 + name = "R-3.6.0.patch"; 141 + url = "https://git.sagemath.org/sage.git/patch/?h=8b7dbd0805d02d0e8674a272e161ceb24a637966"; 142 + sha256 = "1c81f13z1w62s06yvp43gz6vkp8mxcs289n6l4gj9xj10slimzff"; 143 + }) 137 144 ]; 138 145 139 146 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;