···20, pygame
21, pytestCheckHook
22, scipy
023}:
2425buildPythonPackage rec {
···59 pytestCheckHook
60 scipy
61 ];
0000006263 disabledTestPaths = [
64 # mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.
···20, pygame
21, pytestCheckHook
22, scipy
23+, stdenv
24}:
2526buildPythonPackage rec {
···60 pytestCheckHook
61 scipy
62 ];
63+64+ # if `doCheck = true` on Darwin, `jaxlib` is evaluated, which is both
65+ # marked as broken and throws an error during evaluation if the package is evaluated anyway.
66+ # disabling checks on Darwin avoids this and allows the package to be built.
67+ # if jaxlib is ever fixed on Darwin, remove this.
68+ doCheck = !stdenv.isDarwin;
6970 disabledTestPaths = [
71 # mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.