Loading pkgs/by-name/vi/victorialogs/package.nix +5 −8 Original line number Diff line number Diff line Loading @@ -10,13 +10,13 @@ buildGoModule (finalAttrs: { pname = "VictoriaLogs"; version = "1.36.1"; version = "1.38.0"; src = fetchFromGitHub { owner = "VictoriaMetrics"; repo = "VictoriaLogs"; tag = "v${finalAttrs.version}"; hash = "sha256-TZhgZ8x1ESXrNMU6Sa4cQMurTZ+obD/JqqIJFJ18KOA="; hash = "sha256-UosxxeTZzM/f2rqUdMqPxHgnu57/dUc/X7gFOySy+M4="; }; vendorHash = null; Loading @@ -34,12 +34,9 @@ buildGoModule (finalAttrs: { ++ lib.optionals withVlAgent [ "app/vlagent" ]; postPatch = '' # Allow older go versions substituteInPlace go.mod \ --replace-fail "go 1.25.2" "go ${finalAttrs.passthru.go.version}" substituteInPlace vendor/modules.txt \ --replace-fail "go 1.25.0" "go ${finalAttrs.passthru.go.version}" # Relax go version to major.minor sed -i -E 's/^(go[[:space:]]+[[:digit:]]+\.[[:digit:]]+)\.[[:digit:]]+$/\1/' go.mod sed -i -E 's/^(go[[:space:]]+[[:digit:]]+\.[[:digit:]]+)\.[[:digit:]]+$/\1/' vendor/modules.txt ''; ldflags = [ Loading Loading
pkgs/by-name/vi/victorialogs/package.nix +5 −8 Original line number Diff line number Diff line Loading @@ -10,13 +10,13 @@ buildGoModule (finalAttrs: { pname = "VictoriaLogs"; version = "1.36.1"; version = "1.38.0"; src = fetchFromGitHub { owner = "VictoriaMetrics"; repo = "VictoriaLogs"; tag = "v${finalAttrs.version}"; hash = "sha256-TZhgZ8x1ESXrNMU6Sa4cQMurTZ+obD/JqqIJFJ18KOA="; hash = "sha256-UosxxeTZzM/f2rqUdMqPxHgnu57/dUc/X7gFOySy+M4="; }; vendorHash = null; Loading @@ -34,12 +34,9 @@ buildGoModule (finalAttrs: { ++ lib.optionals withVlAgent [ "app/vlagent" ]; postPatch = '' # Allow older go versions substituteInPlace go.mod \ --replace-fail "go 1.25.2" "go ${finalAttrs.passthru.go.version}" substituteInPlace vendor/modules.txt \ --replace-fail "go 1.25.0" "go ${finalAttrs.passthru.go.version}" # Relax go version to major.minor sed -i -E 's/^(go[[:space:]]+[[:digit:]]+\.[[:digit:]]+)\.[[:digit:]]+$/\1/' go.mod sed -i -E 's/^(go[[:space:]]+[[:digit:]]+\.[[:digit:]]+)\.[[:digit:]]+$/\1/' vendor/modules.txt ''; ldflags = [ Loading