python312Packages.nanobind: disable checks on x86_64-darwin

`tensorflow-bin` is not available there, but we want to use the packages
This commit is contained in:
Dmitry Kalinkin
2024-11-10 17:09:28 -05:00
committed by GitHub
parent 1593115346
commit 0eb26e77e7
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
@@ -52,6 +53,8 @@ buildPythonPackage rec {
make -j $NIX_BUILD_CORES
'';
# skip testing on platforms disabled for tensorflow-bin
doCheck = !(builtins.elem stdenv.hostPlatform.system tensorflow-bin.meta.badPlatforms);
nativeCheckInputs = [
pytestCheckHook
numpy