Merge pull request #297980 from Samasaur1/disable-check-gymnasium-darwin

gymnasium: disable doCheck on Darwin

authored by Weijia Wang and committed by GitHub f474830b fed21ab5

+7
+7
pkgs/development/python-modules/gymnasium/default.nix
··· 20 20 , pygame 21 21 , pytestCheckHook 22 22 , scipy 23 + , stdenv 23 24 }: 24 25 25 26 buildPythonPackage rec { ··· 59 60 pytestCheckHook 60 61 scipy 61 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; 62 69 63 70 disabledTestPaths = [ 64 71 # mujoco is required for those tests but the mujoco python bindings are not packaged in nixpkgs.