Unverified Commit 0eb26e77 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

python312Packages.nanobind: disable checks on x86_64-darwin

`tensorflow-bin` is not available there, but we want to use the packages
parent 15931153
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
{
  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