diff options
author | Tom Hall <tahall256@protonmail.ch> | 2020-02-21 23:01:36 +0000 |
---|---|---|
committer | Tom Hall <tahall256@protonmail.ch> | 2020-02-22 13:17:40 +0000 |
commit | ae9e09a2e1ee1d003074b888a5cccd30faf93b03 (patch) | |
tree | 3cccb3728198e1d07b7c5ccdc99a2d679498532c /pkgs/applications/science/math/R/default.nix | |
parent | 4e5aeca90bba12fb23e87e63dfedbd0890bc6139 (diff) | |
download | nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar.gz nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar.bz2 nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar.lz nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar.xz nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.tar.zst nixpkgs-ae9e09a2e1ee1d003074b888a5cccd30faf93b03.zip |
R: fix build on aarch64 by removing a failing test
I believe this test is currently incorrect on aarch64 and expects a warning about loss of precision with much smaller numbers than the platform's long doubles can handle.
Diffstat (limited to 'pkgs/applications/science/math/R/default.nix')
-rw-r--r-- | pkgs/applications/science/math/R/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 914f6a49b17..f613f94b9cc 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -27,6 +27,10 @@ stdenv.mkDerivation rec { patches = [ ./no-usr-local-search-paths.patch + ] ++ stdenv.lib.optionals stdenv.hostPlatform.isAarch64 [ + # Remove a test which fails on aarch64. + # See https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17718 + ./0001-Disable-test-pending-upstream-fix.patch ]; prePatch = stdenv.lib.optionalString stdenv.isDarwin '' |