virtiofsd: include vhost-user configuration file

This commit is contained in:
Alois Wohlschlager 2023-12-31 07:24:31 +01:00 committed by Alyssa Ross
parent 644fcfd126
commit 62c8b51c27

View file

@ -21,6 +21,14 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ libcap_ng libseccomp ];
postConfigure = ''
sed -i "s|/usr/libexec|$out/bin|g" 50-virtiofsd.json
'';
postInstall = ''
install -Dm644 50-virtiofsd.json "$out/share/qemu/vhost-user/50-virtiofsd.json"
'';
meta = with lib; {
homepage = "https://gitlab.com/virtio-fs/virtiofsd";
description = "vhost-user virtio-fs device backend written in Rust";