diff --git a/pkgs/by-name/ve/vector/package.nix b/pkgs/by-name/ve/vector/package.nix index d90276d5bc1e..bec3504bbdb9 100644 --- a/pkgs/by-name/ve/vector/package.nix +++ b/pkgs/by-name/ve/vector/package.nix @@ -20,6 +20,7 @@ nixosTests, nix-update-script, darwin, + versionCheckHook, zlib, }: @@ -111,6 +112,12 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail "#[tokio::test]" "" ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + versionCheckProgramArg = "--version"; + doInstallCheck = true; + passthru = { tests = { inherit (nixosTests) vector;