diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/v2ray/generic.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/v2ray/generic.nix b/pkgs/tools/networking/v2ray/generic.nix index 4499e91425f..04ac482e898 100644 --- a/pkgs/tools/networking/v2ray/generic.nix +++ b/pkgs/tools/networking/v2ray/generic.nix @@ -1,4 +1,4 @@ -{ lib, linkFarm, buildGoModule, runCommand, makeWrapper +{ lib, linkFarm, buildGoModule, runCommand, makeWrapper, nixosTests # Version specific args , version, src, assets, vendorSha256 @@ -44,6 +44,10 @@ in runCommand "v2ray-${version}" { maintainers = with lib.maintainers; [ servalcatty ]; }; + passthru.tests = { + simple-vmess-proxy-test = nixosTests.v2ray; + }; + } '' for file in ${core}/bin/*; do makeWrapper "$file" "$out/bin/$(basename "$file")" \ |