From 0eb26e77e70c032800ca12f5886057065a1c8ba4 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 10 Nov 2024 17:09:28 -0500 Subject: [PATCH] python312Packages.nanobind: disable checks on x86_64-darwin `tensorflow-bin` is not available there, but we want to use the packages --- pkgs/development/python-modules/nanobind/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/nanobind/default.nix b/pkgs/development/python-modules/nanobind/default.nix index 66df98f351bce..f08378fdec680 100644 --- a/pkgs/development/python-modules/nanobind/default.nix +++ b/pkgs/development/python-modules/nanobind/default.nix @@ -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