Skip to content

Commit

Permalink
python312Packages.nanobind: disable checks on x86_64-darwin
Browse files Browse the repository at this point in the history
`tensorflow-bin` is not available there, but we want to use the packages
  • Loading branch information
veprbl authored Nov 10, 2024
1 parent 1593115 commit 0eb26e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/nanobind/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0eb26e7

Please sign in to comment.