Unverified Commit 40e5aeb9 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

victoriatraces: 0.5.1 -> 0.6.0

ChangeLog: https://docs.victoriametrics.com/victoriatraces/changelog/#v060

Just like victoriametrics[1], we now need to allow `mincore`:

    SECCOMP auid=4294967295 uid=61888 gid=61888 ses=4294967295 pid=859923 comm="victoria-traces" exe="/nix/store/kxqhlmqdc6ml4l9asb69w39yny88hmvf-VictoriaTraces-0.6.0/bin/victoria-traces" sig=31 arch=c000003e syscall=27 compat=0 ip=0x40578e code=0x80000000

[1] efca7ca9
parent 82f84b5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -156,6 +156,7 @@ in
        SystemCallFilter = [
          "@system-service"
          "~@privileged"
          "mincore"
        ];
      };

+2 −9
Original line number Diff line number Diff line
@@ -13,22 +13,15 @@

buildGoModule (finalAttrs: {
  pname = "VictoriaTraces";
  version = "0.5.1";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "VictoriaMetrics";
    repo = "VictoriaTraces";
    tag = "v${finalAttrs.version}";
    hash = "sha256-RvP3hLM8SoDN91PATTI5RTKwnJsomBtWIakRlBprEPA=";
    hash = "sha256-gXdOPRC3oxMAimMc4v0CjTb224qiocFY9/1PFH4hbRw=";
  };

  postPatch = ''
    substituteInPlace go.mod \
      --replace-fail "go 1.25.4" "go 1.25.3"
    substituteInPlace vendor/modules.txt \
      --replace-fail "go 1.25.4" "go 1.25.3"
  '';

  vendorHash = null;

  subPackages =