Loading pkgs/development/python-modules/pyrender/default.nix +11 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, Loading @@ -16,6 +17,7 @@ six, trimesh, pytestCheckHook, mesa, }: buildPythonPackage rec { Loading Loading @@ -77,10 +79,16 @@ buildPythonPackage rec { env.PYOPENGL_PLATFORM = "egl"; # enables headless rendering during check nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.filter (lib.meta.availableOn stdenv.hostPlatform) [ mesa.llvmpipeHook ]; disabledTestPaths = [ # does not work inside sandbox, no GPU disabledTestPaths = lib.optionals (!lib.meta.availableOn stdenv.hostPlatform mesa.llvmpipeHook) [ # requires opengl context "tests/unit/test_offscreen.py" ]; Loading pkgs/top-level/python-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -13404,7 +13404,9 @@ self: super: with self; { pyregion = callPackage ../development/python-modules/pyregion { }; pyrender = callPackage ../development/python-modules/pyrender { }; pyrender = callPackage ../development/python-modules/pyrender { inherit (pkgs) mesa; }; pyrevolve = callPackage ../development/python-modules/pyrevolve { }; Loading Loading
pkgs/development/python-modules/pyrender/default.nix +11 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, Loading @@ -16,6 +17,7 @@ six, trimesh, pytestCheckHook, mesa, }: buildPythonPackage rec { Loading Loading @@ -77,10 +79,16 @@ buildPythonPackage rec { env.PYOPENGL_PLATFORM = "egl"; # enables headless rendering during check nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.filter (lib.meta.availableOn stdenv.hostPlatform) [ mesa.llvmpipeHook ]; disabledTestPaths = [ # does not work inside sandbox, no GPU disabledTestPaths = lib.optionals (!lib.meta.availableOn stdenv.hostPlatform mesa.llvmpipeHook) [ # requires opengl context "tests/unit/test_offscreen.py" ]; Loading
pkgs/top-level/python-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -13404,7 +13404,9 @@ self: super: with self; { pyregion = callPackage ../development/python-modules/pyregion { }; pyrender = callPackage ../development/python-modules/pyrender { }; pyrender = callPackage ../development/python-modules/pyrender { inherit (pkgs) mesa; }; pyrevolve = callPackage ../development/python-modules/pyrevolve { }; Loading