···2020, pygame
2121, pytestCheckHook
2222, scipy
2323+, stdenv
2324}:
24252526buildPythonPackage rec {
···5960 pytestCheckHook
6061 scipy
6162 ];
6363+6464+ # if `doCheck = true` on Darwin, `jaxlib` is evaluated, which is both
6565+ # marked as broken and throws an error during evaluation if the package is evaluated anyway.
6666+ # disabling checks on Darwin avoids this and allows the package to be built.
6767+ # if jaxlib is ever fixed on Darwin, remove this.
6868+ doCheck = !stdenv.isDarwin;
62696370 disabledTestPaths = [
6471 # mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.