mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
[Backport release-25.05] victoriametrics: 1.119.0 -> 1.127.0 (#450723)
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "VictoriaMetrics";
|
||||
version = "1.119.0";
|
||||
version = "1.127.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VictoriaMetrics";
|
||||
repo = "VictoriaMetrics";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Gc3B3JmTbINdPJ8PIhcuQhFD+FoxNOskoBEcDoMAUUk=";
|
||||
hash = "sha256-j0PikCV0VWSfp2rvwssXwvkRGQzFNd6hidZv3bufUuI=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
@@ -58,6 +58,10 @@ buildGoModule (finalAttrs: {
|
||||
# This appears to be some kind of test server for development purposes only.
|
||||
rm -f app/vmui/packages/vmui/web/{go.mod,main.go}
|
||||
|
||||
# Allow older go versions
|
||||
substituteInPlace go.mod \
|
||||
--replace-fail "go 1.25.1" "go ${finalAttrs.passthru.go.version}"
|
||||
|
||||
# Increase timeouts in tests to prevent failure on heavily loaded builders
|
||||
substituteInPlace lib/storage/storage_test.go \
|
||||
--replace-fail "time.After(10 " "time.After(120 " \
|
||||
|
||||
Reference in New Issue
Block a user