3
0
Fork 0
forked from mirrors/nixpkgs

python2.pkgs.pycairo: workaround to fix build

This commit is contained in:
Frederik Rietdijk 2022-04-04 20:38:46 +02:00
parent 5844b1c2fa
commit 4f30fc6b4d

View file

@ -3,7 +3,7 @@
, meson
, ninja
, buildPythonPackage
, pytestCheckHook
, pytest
, pkg-config
, cairo
, python
@ -32,9 +32,11 @@ buildPythonPackage rec {
cairo
];
checkInputs = [
pytestCheckHook
];
# HACK: Don't use the pytestCheckHook because PYTHONPATH
# will be added by the Python setuptook breaking meson.
checkPhase = ''
${pytest}/bin/pytest
'';
mesonFlags = [
# This is only used for figuring out what version of Python is in