From d416416015943eb0b191fbe37b3e7e4046f5cc60 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Mon, 4 Aug 2025 13:58:23 +0800 Subject: [PATCH] sing-box: 1.11.15 -> 1.12.3 --- pkgs/by-name/si/sing-box/package.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/si/sing-box/package.nix b/pkgs/by-name/si/sing-box/package.nix index 6f558689e0d5..465ec13501a4 100644 --- a/pkgs/by-name/si/sing-box/package.nix +++ b/pkgs/by-name/si/sing-box/package.nix @@ -10,27 +10,26 @@ buildGoModule (finalAttrs: { pname = "sing-box"; - version = "1.11.15"; + version = "1.12.3"; src = fetchFromGitHub { owner = "SagerNet"; repo = "sing-box"; tag = "v${finalAttrs.version}"; - hash = "sha256-uqPV3PGk3hFpV1B8+htBG9x58RVWew0sBDUItpxyv8Q="; + hash = "sha256-OHhCC+tSDZRSDN9i3L6NtwgarBKHv+KGNyPhHttqo4g="; }; - vendorHash = "sha256-qZlnY0MxB4/ttgjuAroTfqGWqGRea549EyIjSxPAlOI="; + vendorHash = "sha256-Y/UP2rbee4WSctelk9QddMXciucz5dNLOLDDWtEFfLU="; tags = [ "with_quic" "with_dhcp" "with_wireguard" - "with_ech" "with_utls" - "with_reality_server" "with_acme" "with_clash_api" "with_gvisor" + "with_tailscale" ]; subPackages = [ @@ -50,6 +49,9 @@ buildGoModule (finalAttrs: { --replace-fail "/usr/bin/sing-box" "$out/bin/sing-box" \ --replace-fail "/bin/kill" "${coreutils}/bin/kill" install -Dm444 -t "$out/lib/systemd/system/" release/config/sing-box{,@}.service + + install -Dm444 release/config/sing-box.rules $out/share/polkit-1/rules.d/sing-box.rules + install -Dm444 release/config/sing-box-split-dns.xml $out/share/dbus-1/system.d/sing-box-split-dns.conf ''; passthru = {