From b9e422759ae08746f6bab017644b3f31884c0f6a Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 26 May 2024 22:55:44 -0400 Subject: [PATCH 1/2] sing-box: 1.8.14 -> 1.9.0 Diff: https://github.com/SagerNet/sing-box/compare/v1.8.14...v1.9.0 --- 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 51a877b35264..6a6867c46495 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.8.14"; + version = "1.9.0"; src = fetchFromGitHub { owner = "SagerNet"; repo = pname; rev = "v${version}"; - hash = "sha256-46LucDuw5+B44481tafB5RodECAiLcnKQ4TeUhwEOjc="; + hash = "sha256-vOxzIMN+JCsNu8INMl18dslqiZsl0+Pe0H0pvsm8i+M="; }; - vendorHash = "sha256-7GQTsicl420bXUPT09sBn+OLBA5Ppi8OPWJys8mNe+c="; + vendorHash = "sha256-QzDUxGAGUy9k+IHdMV0k4LFVeqMyAmfN5TrGROJWfYI="; tags = [ "with_quic" From 3a4bcac84e24845baf1fb8780f962eb30281f515 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 27 May 2024 10:37:36 -0400 Subject: [PATCH 2/2] sing-box: follow upstream build tags Reference: https://sing-box.sagernet.org/installation/build-from-source/#build-tags --- pkgs/tools/networking/sing-box/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index 6a6867c46495..deb294aad5f7 100644 --- a/pkgs/tools/networking/sing-box/default.nix +++ b/pkgs/tools/networking/sing-box/default.nix @@ -24,7 +24,6 @@ buildGoModule rec { tags = [ "with_quic" - "with_grpc" "with_dhcp" "with_wireguard" "with_ech" @@ -32,7 +31,6 @@ buildGoModule rec { "with_reality_server" "with_acme" "with_clash_api" - "with_v2ray_api" "with_gvisor" ];