v2raya: add update script

This commit is contained in:
emaryn
2025-02-12 21:20:36 +00:00
committed by emaryn
parent fd527aacc0
commit 9fb53cf294
+11
View File
@@ -14,6 +14,7 @@
v2ray,
v2ray-geoip,
v2ray-domain-list-community,
nix-update-script,
}:
let
pname = "v2raya";
@@ -87,6 +88,16 @@ buildGoModule {
--prefix XDG_DATA_DIRS ":" ${assetsDir}/share
'';
passthru = {
inherit web;
updateScript = nix-update-script {
extraArgs = [
"--subpackage"
"web"
];
};
};
meta = {
description = "Linux web GUI client of Project V which supports V2Ray, Xray, SS, SSR, Trojan and Pingtunnel";
homepage = "https://github.com/v2rayA/v2rayA";