python310Packages.libversion: fix cross

This commit is contained in:
Robert Schütz 2022-06-13 05:05:04 +00:00 committed by Jonathan Ringer
parent 106506aabe
commit 4e3a656282

View file

@ -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
];