Unverified Commit 016304e7 authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

v2rayn: use nix-update-script

parent 4434c44d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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";

pkgs/by-name/v2/v2rayn/update.sh

deleted100755 → 0
+0 −8
Original line number Diff line number Diff line
#!/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)