diff --git a/pkgs/development/libraries/range-v3/default.nix b/pkgs/development/libraries/range-v3/default.nix index 56c5754831ef..ca2c7d9b70fb 100644 --- a/pkgs/development/libraries/range-v3/default.nix +++ b/pkgs/development/libraries/range-v3/default.nix @@ -13,7 +13,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; - doCheck = true; + # Building the tests currently fails on AArch64 due to internal compiler + # errors (with GCC 9.2): + cmakeFlags = stdenv.lib.optional stdenv.isAarch64 "-DRANGE_V3_TESTS=OFF"; + + doCheck = !stdenv.isAarch64; checkTarget = "test"; enableParallelBuilding = true;