python310Packages.libversion: fix cross
This commit is contained in:
parent
106506aabe
commit
4e3a656282
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,11 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-p0wtSB+QXAERf+57MMb8cqWoy1bG3XaCpR9GPwYYvJM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue