diff --git a/pkgs/development/python-modules/mpv/default.nix b/pkgs/development/python-modules/mpv/default.nix index 01d9d58b23db..7eaa604e7b3c 100644 --- a/pkgs/development/python-modules/mpv/default.nix +++ b/pkgs/development/python-modules/mpv/default.nix @@ -23,7 +23,8 @@ buildPythonPackage rec { ''; # tests impure, will error if it can't load libmpv.so - checkPhase = "${python.interpreter} -c 'import mpv'"; + doCheck = false; + pythonImportsCheck = [ "mpv" ]; meta = with lib; { description = "A python interface to the mpv media player";