python310Packages.libversion: fix cross

main
Robert Schütz 2 years ago committed by Jonathan Ringer
parent 106506aabe
commit 4e3a656282
  1. 5
      pkgs/development/python-modules/libversion/default.nix

@ -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…
Cancel
Save