clash-verge: add update script

This commit is contained in:
Guanran Wang 2024-03-14 17:43:16 +08:00
parent 2b75931c56
commit efbcf8ff4b
No known key found for this signature in database

View File

@ -9,6 +9,7 @@
, webkitgtk
, udev
, libayatana-appindicator
, nix-update-script
}:
stdenv.mkDerivation rec {
@ -51,6 +52,8 @@ stdenv.mkDerivation rec {
ln -sf ${lib.getExe clash-meta} $out/bin/${clash-meta.meta.mainProgram}
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A Clash GUI based on tauri";
homepage = "https://github.com/zzzgydi/clash-verge";