python310Packages.libversion: fix cross
This commit is contained in:
committed by
Jonathan Ringer
parent
106506aabe
commit
4e3a656282
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user