diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index 1061e7e56f47..77e64d1a0060 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -26,6 +26,7 @@ pytest-cov-stub, pytestCheckHook, replaceVars, + versionCheckHook, writableTmpDirAsHomeHook, }: @@ -69,8 +70,10 @@ buildPythonPackage rec { pkgs.ghostscript pytest-cov-stub pytestCheckHook + versionCheckHook writableTmpDirAsHomeHook ]; + versionCheckProgramArg = "--version"; disabledTests = [ # needs the Ahem font (fails on macOS)