diff --git a/pkgs/tools/networking/sing-box/default.nix b/pkgs/tools/networking/sing-box/default.nix index 8552476e7df2..da73cd8d0f7a 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.10"; + version = "1.8.11"; src = fetchFromGitHub { owner = "SagerNet"; repo = pname; rev = "v${version}"; - hash = "sha256-HKiTFDNzu42JNra7g+AyTxJ3RuHpvK7ONmKgk2nItT4="; + hash = "sha256-arAT23Cf72CcBVxsSK46eqVxTw8lHiHzzr2u2Xj0dcg="; }; - vendorHash = "sha256-px90sebov5BbInJtRCGS30fyK3TThNN4XTMtdJhm0Uc="; + vendorHash = "sha256-JI8YB1o84xFcfG1p4SkWdhubZlp9q1THfj1Clb8TvHA="; tags = [ "with_quic" @@ -53,8 +53,8 @@ buildGoModule rec { --zsh <(${emulator} $out/bin/sing-box completion zsh ) substituteInPlace release/config/sing-box{,@}.service \ - --replace "/usr/bin/sing-box" "$out/bin/sing-box" \ - --replace "/bin/kill" "${coreutils}/bin/kill" + --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 '';