victorialogs: 1.26.0 -> 1.29.0 (#436533)

This commit is contained in:
Peder Bergebakken Sundt
2025-08-26 16:55:08 +02:00
committed by GitHub
+11 -2
View File
@@ -10,13 +10,13 @@
buildGoModule (finalAttrs: {
pname = "VictoriaLogs";
version = "1.26.0";
version = "1.29.0";
src = fetchFromGitHub {
owner = "VictoriaMetrics";
repo = "VictoriaLogs";
tag = "v${finalAttrs.version}";
hash = "sha256-PnXpu2Dna5grozKOGRHi/Gic7djszYh7wJ96EiEYP8U=";
hash = "sha256-IKKVCVsHFijSnLawy9oq1qCji2O4+QkSWUvQ4S6tAN8=";
};
vendorHash = null;
@@ -32,6 +32,15 @@ buildGoModule (finalAttrs: {
]
++ lib.optionals withVlAgent [ "app/vlagent" ];
postPatch = ''
# Allow older go versions
substituteInPlace go.mod \
--replace-fail "go 1.25.0" "go ${finalAttrs.passthru.go.version}"
substituteInPlace vendor/modules.txt \
--replace-fail "go 1.25.0" "go ${finalAttrs.passthru.go.version}"
'';
ldflags = [
"-s"
"-w"