mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
victoria*: Use string interpolation instead of concatenation
This commit is contained in:
parent
c48f95dc56
commit
45d6b5ee7c
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ in
|
|||
# The victoriametrics grafana-dashboard expects the version label to have the format `victoria-metrics-*`
|
||||
package = pkgs-unstable.victoriametrics.overrideAttrs (
|
||||
_: previousAttrs: {
|
||||
version = "victoria-metrics-" + previousAttrs.version;
|
||||
version = "victoria-metrics-${previousAttrs.version}";
|
||||
__intentionallyOverridingVersion = true;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue