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