diff --git a/pkgs/by-name/cp/cpuinfo/package.nix b/pkgs/by-name/cp/cpuinfo/package.nix index e0e85e836f8e..847fe651917b 100644 --- a/pkgs/by-name/cp/cpuinfo/package.nix +++ b/pkgs/by-name/cp/cpuinfo/package.nix @@ -37,7 +37,11 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "USE_SYSTEM_LIBS" true) ]; - doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); + # The tests check what CPU the host has and makes sure it can query information. + # not all build environments may have this information availaible. And, cpuinfo may + # not understand all CPUs (causing test failures such as https://github.com/pytorch/cpuinfo/issues/132) + # Instead, allow building in any environment. + doCheck = false; meta = { description = "Tools and library to detect essential for performance optimization information about host CPU";