sing-box: add updateScript

This commit is contained in:
Nick Cao 2023-03-27 09:22:58 +08:00
parent 11df7afec3
commit 21877e107c
No known key found for this signature in database

View file

@ -4,6 +4,7 @@
, fetchFromGitHub
, installShellFiles
, buildPackages
, nix-update-script
}:
buildGoModule rec {
@ -51,6 +52,8 @@ buildGoModule rec {
--zsh <(${emulator} $out/bin/sing-box completion zsh )
'';
passthru.updateScript = nix-update-script { };
meta = with lib;{
homepage = "https://sing-box.sagernet.org";
description = "The universal proxy platform";