We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3cc57a + 5945ce7 commit 4df8a4fCopy full SHA for 4df8a4f
pkgs/development/python-modules/libvirt/default.nix
@@ -1,4 +1,5 @@
1
{
2
+ stdenv,
3
lib,
4
buildPythonPackage,
5
fetchFromGitLab,
@@ -21,6 +22,11 @@ buildPythonPackage rec {
21
22
hash = "sha256-zOjTGXwxjd6QT01AaIln0FdP/8UZS0W3yPltUhlocpk=";
23
};
24
25
+ postPatch = ''
26
+ substituteInPlace setup.py \
27
+ --replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config"
28
+ '';
29
+
30
build-system = [ setuptools ];
31
32
nativeBuildInputs = [ pkg-config ];
0 commit comments