python2.pkgs.pycairo: fix cross

This commit is contained in:
Alyssa Ross 2021-11-12 16:52:50 +00:00
parent c18332aed3
commit 95947f6dd7
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,10 @@ buildPythonPackage rec {
];
mesonFlags = [
"-Dpython=${python.interpreter}"
# This is only used for figuring out what version of Python is in
# use, and related stuff like figuring out what the install prefix
# should be, but it does need to be able to execute Python code.
"-Dpython=${python.pythonForBuild.interpreter}"
];
meta = with lib; {

View file

@ -420,7 +420,7 @@ with self; with super; {
pyblosxom = callPackage ../development/python-modules/pyblosxom { };
pycairo = callPackage ../development/python-modules/pycairo/1.18.nix {
inherit (pkgs) meson;
inherit (pkgs.buildPackages) meson;
};
pycangjie = disabled pycangjie;