Skip to content

Commit

Permalink
python2.pkgs.pycairo: workaround to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Apr 4, 2022
1 parent 5844b1c commit 4f30fc6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/python2-modules/pycairo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, meson
, ninja
, buildPythonPackage
, pytestCheckHook
, pytest
, pkg-config
, cairo
, python
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f30fc6

Please sign in to comment.