Unverified Commit 6a88dbd4 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #302631 from NickCao/sing-box

sing-box: 1.8.10 -> 1.8.11
parents eea62aa2 df2af843
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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
  '';