forked from mirrors/nixpkgs
python2.pkgs.pycairo: workaround to fix build
This commit is contained in:
parent
5844b1c2fa
commit
4f30fc6b4d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue