v2rayn: use nix-update-script

This commit is contained in:
Gutyina Gergő
2025-03-11 22:00:51 +01:00
parent 4434c44d89
commit 016304e79d
2 changed files with 2 additions and 9 deletions
+2 -1
View File
@@ -16,6 +16,7 @@
bash,
xorg,
xdg-utils,
nix-update-script,
}:
buildDotnetModule rec {
@@ -96,7 +97,7 @@ buildDotnetModule rec {
install -Dm644 v2rayN/v2rayN.Desktop/v2rayN.png $out/share/pixmaps/v2rayn.png
'';
passthru.updateScript = ./update.sh;
passthru.updateScript = nix-update-script { };
meta = {
description = "GUI client for Windows and Linux, support Xray core and sing-box-core and others";
-8
View File
@@ -1,8 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash nix nix-update
set -eou pipefail
nix-update v2rayn
$(nix-build -A v2rayn.fetch-deps)