1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

Revert "gnu: libvirt: Update to 10.10.0."

This reverts commit bd30b85066, which broke
'make check-system TESTS=libvirt'.

Fixes: bug#76741
Change-Id: I3de07a18f3801e31ee0b53dd3e5575bc115620dc
This commit is contained in:
Maxim Cournoyer 2025-03-05 12:05:26 +09:00
parent 630201dba8
commit ad5f29b87d
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 63 additions and 108 deletions

View file

@ -2,40 +2,20 @@ Patch from NixOS:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libvirt/0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/libvirt/0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch
From 58c07f1d59ef683faf8b747e40bd75401306acf4 Mon Sep 17 00:00:00 2001 From ad42041cfedcf25716429d2aad16641e0e2a012f Mon Sep 17 00:00:00 2001
From: Euan Kemp <euank@euank.com> From: Euan Kemp <euank@euank.com>
Date: Mon, 24 Jun 2024 15:59:48 +0200 Date: Thu, 14 Jan 2021 00:32:00 -0800
Subject: [PATCH] meson: patch in an install prefix for building on nix Subject: [PATCH] meson: patch in an install prefix for building on nix
Used in the nixpkgs version of libvirt so that we can install things in Used in the nixpkgs version of libvirt so that we can install things in
the nix store, but read them from the root filesystem. the nix store, but read them from the root filesystem.
--- ---
meson.build | 9 +++++++
meson_options.txt | 2 ++
src/ch/meson.build | 6 ++---
src/interface/meson.build | 2 +-
src/libxl/meson.build | 18 +++++++-------
src/locking/meson.build | 8 +++----
src/lxc/meson.build | 10 ++++----
src/meson.build | 18 +++++++-------
src/network/meson.build | 14 +++++------
src/node_device/meson.build | 2 +-
src/nwfilter/meson.build | 6 ++---
src/nwfilter/xml/meson.build | 2 +-
src/qemu/meson.build | 40 +++++++++++++++----------------
src/remote/meson.build | 10 ++++----
src/secret/meson.build | 4 ++--
src/security/apparmor/meson.build | 8 +++----
src/storage/meson.build | 6 ++---
tools/meson.build | 2 +-
tools/ssh-proxy/meson.build | 2 +-
19 files changed, 90 insertions(+), 79 deletions(-)
diff --git a/meson.build b/meson.build diff --git a/meson.build b/meson.build
index e98ab0d5ac..376f241c07 100644 index 9016c0458a..b26e690194 100644
--- a/meson.build --- a/meson.build
+++ b/meson.build +++ b/meson.build
@@ -47,6 +47,8 @@ if host_machine.system() == 'windows' @@ -39,6 +39,8 @@ if host_machine.system() == 'windows'
conf.set('WINVER', '0x0600') # Win Vista / Server 2008 conf.set('WINVER', '0x0600') # Win Vista / Server 2008
endif endif
@ -44,7 +24,7 @@ index e98ab0d5ac..376f241c07 100644
# set various paths # set various paths
@@ -65,6 +67,13 @@ else @@ -57,6 +59,13 @@ else
sysconfdir = prefix / get_option('sysconfdir') sysconfdir = prefix / get_option('sysconfdir')
endif endif
@ -59,7 +39,7 @@ index e98ab0d5ac..376f241c07 100644
# sysconfdir as this makes a lot of things break in testing situations # sysconfdir as this makes a lot of things break in testing situations
if prefix == '/usr' if prefix == '/usr'
diff --git a/meson_options.txt b/meson_options.txt diff --git a/meson_options.txt b/meson_options.txt
index cdc8687795..c2b6da140c 100644 index 5b43cdbd6b..e9dff18441 100644
--- a/meson_options.txt --- a/meson_options.txt
+++ b/meson_options.txt +++ b/meson_options.txt
@@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
@ -69,10 +49,10 @@ index cdc8687795..c2b6da140c 100644
option('packager', type: 'string', value: '', description: 'Extra packager name') option('packager', type: 'string', value: '', description: 'Extra packager name')
option('packager_version', type: 'string', value: '', description: 'Extra packager version') option('packager_version', type: 'string', value: '', description: 'Extra packager version')
diff --git a/src/ch/meson.build b/src/ch/meson.build diff --git a/src/ch/meson.build b/src/ch/meson.build
index 633966aac7..c0ce823345 100644 index 66b77907b0..6aa9bbc548 100644
--- a/src/ch/meson.build --- a/src/ch/meson.build
+++ b/src/ch/meson.build +++ b/src/ch/meson.build
@@ -74,8 +74,8 @@ if conf.has('WITH_CH') @@ -64,8 +64,8 @@ if conf.has('WITH_CH')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -85,10 +65,10 @@ index 633966aac7..c0ce823345 100644
] ]
endif endif
diff --git a/src/interface/meson.build b/src/interface/meson.build diff --git a/src/interface/meson.build b/src/interface/meson.build
index 3d2991315e..20f3266738 100644 index 828f274422..2a6b1f8c5e 100644
--- a/src/interface/meson.build --- a/src/interface/meson.build
+++ b/src/interface/meson.build +++ b/src/interface/meson.build
@@ -59,6 +59,6 @@ if conf.has('WITH_INTERFACE') @@ -56,6 +56,6 @@ if conf.has('WITH_INTERFACE')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -97,10 +77,10 @@ index 3d2991315e..20f3266738 100644
] ]
endif endif
diff --git a/src/libxl/meson.build b/src/libxl/meson.build diff --git a/src/libxl/meson.build b/src/libxl/meson.build
index e75a8f2fdb..d1800b4ea5 100644 index 0cc277db82..48d8c5b962 100644
--- a/src/libxl/meson.build --- a/src/libxl/meson.build
+++ b/src/libxl/meson.build +++ b/src/libxl/meson.build
@@ -81,14 +81,14 @@ if conf.has('WITH_LIBXL') @@ -79,14 +79,14 @@ if conf.has('WITH_LIBXL')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -125,10 +105,10 @@ index e75a8f2fdb..d1800b4ea5 100644
] ]
endif endif
diff --git a/src/locking/meson.build b/src/locking/meson.build diff --git a/src/locking/meson.build b/src/locking/meson.build
index c3dfcf2961..cdc1442775 100644 index 72f7780438..abe70d20d5 100644
--- a/src/locking/meson.build --- a/src/locking/meson.build
+++ b/src/locking/meson.build +++ b/src/locking/meson.build
@@ -249,14 +249,14 @@ if conf.has('WITH_LIBVIRTD') @@ -238,14 +238,14 @@ if conf.has('WITH_LIBVIRTD')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -148,10 +128,10 @@ index c3dfcf2961..cdc1442775 100644
endif endif
endif endif
diff --git a/src/lxc/meson.build b/src/lxc/meson.build diff --git a/src/lxc/meson.build b/src/lxc/meson.build
index bf9afabc0f..6e9547000a 100644 index 99d4a34213..aae477c1ee 100644
--- a/src/lxc/meson.build --- a/src/lxc/meson.build
+++ b/src/lxc/meson.build +++ b/src/lxc/meson.build
@@ -190,10 +190,10 @@ if conf.has('WITH_LXC') @@ -176,10 +176,10 @@ if conf.has('WITH_LXC')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -168,10 +148,10 @@ index bf9afabc0f..6e9547000a 100644
] ]
endif endif
diff --git a/src/meson.build b/src/meson.build diff --git a/src/meson.build b/src/meson.build
index dd2682ec19..b330d1159e 100644 index b2d951d36c..305716010f 100644
--- a/src/meson.build --- a/src/meson.build
+++ b/src/meson.build +++ b/src/meson.build
@@ -220,7 +220,7 @@ openrc_init_files = [] @@ -210,7 +210,7 @@ openrc_init_files = []
# virt_install_dirs: # virt_install_dirs:
# list of directories to create during installation # list of directories to create during installation
@ -180,7 +160,7 @@ index dd2682ec19..b330d1159e 100644
# driver_source_files: # driver_source_files:
# driver source files to check # driver source files to check
@@ -697,7 +697,7 @@ endforeach @@ -663,7 +663,7 @@ endforeach
virt_conf_files += 'libvirt.conf' virt_conf_files += 'libvirt.conf'
@ -189,7 +169,7 @@ index dd2682ec19..b330d1159e 100644
install_data(virt_aug_files, install_dir: virt_aug_dir) install_data(virt_aug_files, install_dir: virt_aug_dir)
# augeas_test_data: # augeas_test_data:
@@ -760,7 +760,7 @@ foreach data : virt_daemon_confs @@ -723,7 +723,7 @@ foreach data : virt_daemon_confs
output: '@0@.conf'.format(data['name']), output: '@0@.conf'.format(data['name']),
configuration: daemon_conf, configuration: daemon_conf,
install: true, install: true,
@ -198,7 +178,7 @@ index dd2682ec19..b330d1159e 100644
) )
if data.get('with_ip', false) if data.get('with_ip', false)
@@ -910,7 +910,7 @@ if conf.has('WITH_LIBVIRTD') @@ -847,7 +847,7 @@ if conf.has('WITH_LIBVIRTD')
install_data( install_data(
init_file, init_file,
@ -207,7 +187,7 @@ index dd2682ec19..b330d1159e 100644
install_mode: 'rwxr-xr-x', install_mode: 'rwxr-xr-x',
rename: [ init['name'] ], rename: [ init['name'] ],
) )
@@ -918,7 +918,7 @@ if conf.has('WITH_LIBVIRTD') @@ -855,7 +855,7 @@ if conf.has('WITH_LIBVIRTD')
if init.has_key('confd') if init.has_key('confd')
install_data( install_data(
init['confd'], init['confd'],
@ -216,7 +196,7 @@ index dd2682ec19..b330d1159e 100644
rename: [ init['name'] ], rename: [ init['name'] ],
) )
endif endif
@@ -945,10 +945,10 @@ endif @@ -882,10 +882,10 @@ endif
# Install empty directories # Install empty directories
virt_install_dirs += [ virt_install_dirs += [
@ -232,10 +212,10 @@ index dd2682ec19..b330d1159e 100644
meson.add_install_script( meson.add_install_script(
diff --git a/src/network/meson.build b/src/network/meson.build diff --git a/src/network/meson.build b/src/network/meson.build
index 07cd5cda55..699309bb66 100644 index b5eff0c3ab..a0f26d624e 100644
--- a/src/network/meson.build --- a/src/network/meson.build
+++ b/src/network/meson.build +++ b/src/network/meson.build
@@ -115,11 +115,11 @@ if conf.has('WITH_NETWORK') @@ -73,11 +73,11 @@ if conf.has('WITH_NETWORK')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -252,26 +232,26 @@ index 07cd5cda55..699309bb66 100644
] ]
configure_file( configure_file(
@@ -127,12 +127,12 @@ if conf.has('WITH_NETWORK') @@ -85,12 +85,12 @@ if conf.has('WITH_NETWORK')
output: '@BASENAME@', output: '@BASENAME@',
configuration: configmake_conf, copy: true,
install: true, install: true,
- install_dir: confdir / 'qemu' / 'networks', - install_dir: confdir / 'qemu' / 'networks',
+ install_dir: install_prefix + confdir / 'qemu' / 'networks', + install_dir: install_prefix + confdir / 'qemu' / 'networks',
) )
meson.add_install_script( meson.add_install_script(
meson_python_prog.full_path(), python3_prog.full_path(), meson_install_symlink_prog.full_path(), meson_python_prog.path(), python3_prog.path(), meson_install_symlink_prog.path(),
- confdir / 'qemu' / 'networks' / 'autostart', - confdir / 'qemu' / 'networks' / 'autostart',
+ install_prefix + confdir / 'qemu' / 'networks' / 'autostart', + install_prefix + confdir / 'qemu' / 'networks' / 'autostart',
'../default.xml', 'default.xml', '../default.xml', 'default.xml',
) )
diff --git a/src/node_device/meson.build b/src/node_device/meson.build diff --git a/src/node_device/meson.build b/src/node_device/meson.build
index d66c02a0e2..f883b65431 100644 index 1c95975c37..a7831242db 100644
--- a/src/node_device/meson.build --- a/src/node_device/meson.build
+++ b/src/node_device/meson.build +++ b/src/node_device/meson.build
@@ -67,6 +67,6 @@ if conf.has('WITH_NODE_DEVICES') @@ -64,6 +64,6 @@ if conf.has('WITH_NODE_DEVICES')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -280,10 +260,10 @@ index d66c02a0e2..f883b65431 100644
] ]
endif endif
diff --git a/src/nwfilter/meson.build b/src/nwfilter/meson.build diff --git a/src/nwfilter/meson.build b/src/nwfilter/meson.build
index de3d202267..346c435ee7 100644 index 55cf8fcce4..d331086f2e 100644
--- a/src/nwfilter/meson.build --- a/src/nwfilter/meson.build
+++ b/src/nwfilter/meson.build +++ b/src/nwfilter/meson.build
@@ -65,9 +65,9 @@ if conf.has('WITH_NWFILTER') @@ -62,9 +62,9 @@ if conf.has('WITH_NWFILTER')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -307,10 +287,10 @@ index 0d96c54ebe..66c92a1016 100644
-install_data(nwfilter_xml_files, install_dir: sysconfdir / 'libvirt' / 'nwfilter') -install_data(nwfilter_xml_files, install_dir: sysconfdir / 'libvirt' / 'nwfilter')
+install_data(nwfilter_xml_files, install_dir: install_prefix + sysconfdir / 'libvirt' / 'nwfilter') +install_data(nwfilter_xml_files, install_dir: install_prefix + sysconfdir / 'libvirt' / 'nwfilter')
diff --git a/src/qemu/meson.build b/src/qemu/meson.build diff --git a/src/qemu/meson.build b/src/qemu/meson.build
index 907893d431..99b62c8955 100644 index 39f0f615cc..5f6f30f82b 100644
--- a/src/qemu/meson.build --- a/src/qemu/meson.build
+++ b/src/qemu/meson.build +++ b/src/qemu/meson.build
@@ -218,25 +218,25 @@ if conf.has('WITH_QEMU') @@ -175,24 +175,24 @@ if conf.has('WITH_QEMU')
endif endif
virt_install_dirs += [ virt_install_dirs += [
@ -331,7 +311,6 @@ index 907893d431..99b62c8955 100644
- localstatedir / 'log' / 'swtpm' / 'libvirt' / 'qemu', - localstatedir / 'log' / 'swtpm' / 'libvirt' / 'qemu',
- runstatedir / 'libvirt' / 'qemu', - runstatedir / 'libvirt' / 'qemu',
- runstatedir / 'libvirt' / 'qemu' / 'dbus', - runstatedir / 'libvirt' / 'qemu' / 'dbus',
- runstatedir / 'libvirt' / 'qemu' / 'passt',
- runstatedir / 'libvirt' / 'qemu' / 'slirp', - runstatedir / 'libvirt' / 'qemu' / 'slirp',
- runstatedir / 'libvirt' / 'qemu' / 'swtpm', - runstatedir / 'libvirt' / 'qemu' / 'swtpm',
+ install_prefix + confdir / 'qemu', + install_prefix + confdir / 'qemu',
@ -351,16 +330,15 @@ index 907893d431..99b62c8955 100644
+ install_prefix + localstatedir / 'log' / 'swtpm' / 'libvirt' / 'qemu', + install_prefix + localstatedir / 'log' / 'swtpm' / 'libvirt' / 'qemu',
+ install_prefix + runstatedir / 'libvirt' / 'qemu', + install_prefix + runstatedir / 'libvirt' / 'qemu',
+ install_prefix + runstatedir / 'libvirt' / 'qemu' / 'dbus', + install_prefix + runstatedir / 'libvirt' / 'qemu' / 'dbus',
+ install_prefix + runstatedir / 'libvirt' / 'qemu' / 'passt',
+ install_prefix + runstatedir / 'libvirt' / 'qemu' / 'slirp', + install_prefix + runstatedir / 'libvirt' / 'qemu' / 'slirp',
+ install_prefix + runstatedir / 'libvirt' / 'qemu' / 'swtpm', + install_prefix + runstatedir / 'libvirt' / 'qemu' / 'swtpm',
] ]
endif endif
diff --git a/src/remote/meson.build b/src/remote/meson.build diff --git a/src/remote/meson.build b/src/remote/meson.build
index 831acaaa01..0ba34d3bad 100644 index b2aafe6320..6972d254ca 100644
--- a/src/remote/meson.build --- a/src/remote/meson.build
+++ b/src/remote/meson.build +++ b/src/remote/meson.build
@@ -261,9 +261,9 @@ if conf.has('WITH_REMOTE') @@ -235,9 +235,9 @@ if conf.has('WITH_REMOTE')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -372,8 +350,8 @@ index 831acaaa01..0ba34d3bad 100644
+ install_prefix + runstatedir / 'libvirt' / 'common', + install_prefix + runstatedir / 'libvirt' / 'common',
] ]
logrotate_conf = configuration_data({ logrotate_conf = configuration_data()
@@ -278,7 +278,7 @@ if conf.has('WITH_REMOTE') @@ -251,7 +251,7 @@ if conf.has('WITH_REMOTE')
) )
install_data( install_data(
log_file, log_file,
@ -382,7 +360,7 @@ index 831acaaa01..0ba34d3bad 100644
rename: [ name ], rename: [ name ],
) )
endforeach endforeach
@@ -328,7 +328,7 @@ endif @@ -301,7 +301,7 @@ endif
if conf.has('WITH_SASL') if conf.has('WITH_SASL')
install_data( install_data(
'libvirtd.sasl', 'libvirtd.sasl',
@ -392,10 +370,10 @@ index 831acaaa01..0ba34d3bad 100644
) )
endif endif
diff --git a/src/secret/meson.build b/src/secret/meson.build diff --git a/src/secret/meson.build b/src/secret/meson.build
index 3b859ea7b4..ccddb3e805 100644 index 1bda59849b..392bc2cb2e 100644
--- a/src/secret/meson.build --- a/src/secret/meson.build
+++ b/src/secret/meson.build +++ b/src/secret/meson.build
@@ -48,7 +48,7 @@ if conf.has('WITH_SECRETS') @@ -45,7 +45,7 @@ if conf.has('WITH_SECRETS')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -406,10 +384,10 @@ index 3b859ea7b4..ccddb3e805 100644
] ]
endif endif
diff --git a/src/security/apparmor/meson.build b/src/security/apparmor/meson.build diff --git a/src/security/apparmor/meson.build b/src/security/apparmor/meson.build
index b9257c816d..98701755d8 100644 index 990f00b4f3..e5a7a14e1d 100644
--- a/src/security/apparmor/meson.build --- a/src/security/apparmor/meson.build
+++ b/src/security/apparmor/meson.build +++ b/src/security/apparmor/meson.build
@@ -57,7 +57,7 @@ foreach name : apparmor_gen_profiles @@ -19,22 +19,22 @@ foreach name : apparmor_gen_profiles
output: name, output: name,
configuration: apparmor_gen_profiles_conf, configuration: apparmor_gen_profiles_conf,
install: true, install: true,
@ -418,14 +396,11 @@ index b9257c816d..98701755d8 100644
) )
endforeach endforeach
@@ -68,13 +68,13 @@ foreach name : apparmor_gen_abstractions install_data(
command: apparmor_gen_cmd, [ 'libvirt-qemu', 'libvirt-lxc' ],
capture: true,
install: true,
- install_dir: apparmor_dir / 'abstractions', - install_dir: apparmor_dir / 'abstractions',
+ install_dir: install_prefix + apparmor_dir / 'abstractions', + install_dir: install_prefix + apparmor_dir / 'abstractions',
) )
endforeach
install_data( install_data(
[ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ], [ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ],
@ -433,21 +408,17 @@ index b9257c816d..98701755d8 100644
+ install_dir: install_prefix + apparmor_dir / 'libvirt', + install_dir: install_prefix + apparmor_dir / 'libvirt',
) )
if not conf.has('WITH_APPARMOR_3')
@@ -83,7 +83,7 @@ if not conf.has('WITH_APPARMOR_3')
# files in order to limit the amount of filesystem clutter.
install_data( install_data(
'usr.lib.libvirt.virt-aa-helper.local', 'usr.lib.libvirt.virt-aa-helper.local',
- install_dir: apparmor_dir / 'local', - install_dir: apparmor_dir / 'local',
+ install_dir: install_prefix + apparmor_dir / 'local', + install_dir: install_prefix + apparmor_dir / 'local',
rename: 'usr.lib.libvirt.virt-aa-helper', rename: 'usr.lib.libvirt.virt-aa-helper',
) )
endif
diff --git a/src/storage/meson.build b/src/storage/meson.build diff --git a/src/storage/meson.build b/src/storage/meson.build
index 404d6a6941..fb4e67a0a8 100644 index 26e7ff1a1a..ad5c6eddc3 100644
--- a/src/storage/meson.build --- a/src/storage/meson.build
+++ b/src/storage/meson.build +++ b/src/storage/meson.build
@@ -126,9 +126,9 @@ if conf.has('WITH_STORAGE') @@ -127,9 +127,9 @@ if conf.has('WITH_STORAGE')
} }
virt_install_dirs += [ virt_install_dirs += [
@ -461,10 +432,10 @@ index 404d6a6941..fb4e67a0a8 100644
endif endif
diff --git a/tools/meson.build b/tools/meson.build diff --git a/tools/meson.build b/tools/meson.build
index 1bb84be0be..e04a4e986d 100644 index f4b4a16c29..059c73a955 100644
--- a/tools/meson.build --- a/tools/meson.build
+++ b/tools/meson.build +++ b/tools/meson.build
@@ -121,7 +121,7 @@ if conf.has('WITH_LOGIN_SHELL') @@ -120,7 +120,7 @@ if conf.has('WITH_LOGIN_SHELL')
install_rpath: libvirt_rpath, install_rpath: libvirt_rpath,
) )
@ -473,17 +444,6 @@ index 1bb84be0be..e04a4e986d 100644
endif endif
if host_machine.system() == 'windows' if host_machine.system() == 'windows'
diff --git a/tools/ssh-proxy/meson.build b/tools/ssh-proxy/meson.build
index e9f312fa25..95d5d8fe0b 100644
--- a/tools/ssh-proxy/meson.build
+++ b/tools/ssh-proxy/meson.build
@@ -20,6 +20,6 @@ if conf.has('WITH_SSH_PROXY')
output: '@BASENAME@',
configuration: tools_conf,
install: true,
- install_dir : sshconfdir,
+ install_dir : install_prefix + sshconfdir,
)
endif
-- --
2.45.1 2.35.1

View file

@ -1535,14 +1535,14 @@ pretty simple, REST API.")
(define-public libvirt (define-public libvirt
(package (package
(name "libvirt") (name "libvirt")
(version "10.10.0") (version "8.6.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://libvirt.org/sources/libvirt-" (uri (string-append "https://libvirt.org/sources/libvirt-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 "15jpfrn3d2zyhbm5ip7bmpjb6ch2bfxm1h6yfgh0l3bw3g9ppgg1")) (base32 "1qisvbshbcd5305mrb4vni559k52id7c8iw4dwdydbf97b24f658"))
(patches (search-patches "libvirt-add-install-prefix.patch")))) (patches (search-patches "libvirt-add-install-prefix.patch"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
@ -1587,11 +1587,7 @@ pretty simple, REST API.")
"virnetsockettest"))) ; tries to network "virnetsockettest"))) ; tries to network
(substitute* "tests/meson.build" (substitute* "tests/meson.build"
(((format #f ".*'name': '(~a)'.*" (string-join tests "|"))) (((format #f ".*'name': '(~a)'.*" (string-join tests "|")))
""))))) ""))))))))
(add-before 'configure 'fix-test-data
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "tests/qemuvhostuserdata/usr/libexec")
(("^cat") (search-input-file inputs "bin/cat"))))))))
(inputs (inputs
(list acl (list acl
attr attr
@ -1601,7 +1597,6 @@ pretty simple, REST API.")
libpciaccess libpciaccess
gnutls gnutls
dbus dbus
json-c
libpcap libpcap
libnl libnl
libssh2 ;optional libssh2 ;optional