diff --git a/pkgs/by-name/vi/virtiofsd/package.nix b/pkgs/by-name/vi/virtiofsd/package.nix index 37421a78941e..c3bac4266928 100644 --- a/pkgs/by-name/vi/virtiofsd/package.nix +++ b/pkgs/by-name/vi/virtiofsd/package.nix @@ -5,6 +5,7 @@ fetchFromGitLab, libcap_ng, libseccomp, + versionCheckHook, }: rustPlatform.buildRustPackage rec { @@ -38,6 +39,11 @@ rustPlatform.buildRustPackage rec { install -Dm644 50-virtiofsd.json "$out/share/qemu/vhost-user/50-virtiofsd.json" ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + meta = with lib; { homepage = "https://gitlab.com/virtio-fs/virtiofsd"; description = "vhost-user virtio-fs device backend written in Rust";