mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
virtiofsd: include vhost-user configuration file
This commit is contained in:
parent
644fcfd126
commit
62c8b51c27
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user