python310Packages.pyatspi: fix cross
python3.10-pyatspi> checking for a Python interpreter with version >= 2.6... none python3.10-pyatspi> configure: error: no suitable Python interpreter found then after PYTHON= python3.10-pyatspi> ./configure: line 3939: which: command not found
This commit is contained in:
parent
9f7c464ec3
commit
c1896ff065
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome }:
|
||||
{ lib, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatspi";
|
||||
|
@ -17,6 +17,16 @@ buildPythonPackage rec {
|
|||
pygobject3
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"PYTHON=${python.pythonForBuild.interpreter}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# useless python existence check for us
|
||||
substituteInPlace configure \
|
||||
--replace '&& ! which' '&& false'
|
||||
'';
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Reference in a new issue