From 068e9d43248e90d69f292b8afd752b0a99e428ea Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 29 Dec 2023 23:37:42 -0500 Subject: [PATCH 1/2] sing-box: 1.7.6 -> 1.7.7 Diff: https://github.com/SagerNet/sing-box/compare/v1.7.6...v1.7.7 --- pkgs/tools/networking/sing-box/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index 5ba7917de049..e54885698f47 100644 --- a/pkgs/tools/networking/sing-box/default.nix +++ b/pkgs/tools/networking/sing-box/default.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "sing-box"; - version = "1.7.6"; + version = "1.7.7"; src = fetchFromGitHub { owner = "SagerNet"; repo = pname; rev = "v${version}"; - hash = "sha256-ZrZ2mqf1/D4L+1SlTx3rwkmk9+RcqH/yuMZie6jtpmc="; + hash = "sha256-EiWwy417PFMzk/v6mUCPuTW/xWicq7sqPZKpL+M3ZIo="; }; - vendorHash = "sha256-nIVm2+F+5rXTiode240zZXxIAQA4VkNynYnmdvSwEHw="; + vendorHash = "sha256-cd0oN11YqgG8wJZJ4PiPaD1krKc2UcB0zngj9nTrpoY="; tags = [ "with_quic" From 9267f03edf26e2d2be1206fd92fe9ff5b128ce9f Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 30 Dec 2023 09:40:07 -0500 Subject: [PATCH 2/2] sing-box: set meta.mainProgram --- pkgs/tools/networking/sing-box/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index e54885698f47..0310829c5c29 100644 --- a/pkgs/tools/networking/sing-box/default.nix +++ b/pkgs/tools/networking/sing-box/default.nix @@ -68,5 +68,6 @@ buildGoModule rec { description = "The universal proxy platform"; license = licenses.gpl3Plus; maintainers = with maintainers; [ nickcao ]; + mainProgram = "sing-box"; }; }