victoria*: Use string interpolation instead of concatenation

This commit is contained in:
SebastianStork 2025-09-21 13:05:03 +02:00
parent c48f95dc56
commit 45d6b5ee7c
2 changed files with 3 additions and 2 deletions

View file

@ -46,9 +46,10 @@ in
services.victorialogs = {
enable = true;
# The victorialogs grafana-dashboard expects the version label to have the format `victoria-logs-*`
package = pkgs-unstable.victorialogs.overrideAttrs (
_: previousAttrs: {
version = "victoria-logs-" + previousAttrs.version;
version = "victoria-logs-${previousAttrs.version}";
__intentionallyOverridingVersion = true;
}
);