Merge pull request #190379 from SuperSandro2000/libvirt

libvirt: fix cross compile
This commit is contained in:
Franz Pletz 2022-09-12 03:54:42 +02:00 committed by GitHub
commit 88199c6df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,14 +147,20 @@ stdenv.mkDerivation rec {
sed -i '/virnetdaemontest/d' tests/meson.build
'';
strictDeps = true;
nativeBuildInputs = [
meson
meson # needs to be first
cmake
docutils
libxml2 # for xmllint
libxslt # for xsltproc
makeWrapper
ninja
perl
pkg-config
util-linux # for mount
]
++ optional (!isDarwin) rpcsvc-proto
# NOTE: needed for rpcgen
@ -171,8 +177,6 @@ stdenv.mkDerivation rec {
libpcap
libtasn1
libxml2
libxslt
perl
perlPackages.XMLXPath
pkg-config
python3