nixos/tests/loki: remove no longer needed example config patching

Upstream moved enable_multi_variant_queries to the correct config
section in v3.6.0.
This commit is contained in:
emilylange 2025-12-02 17:19:45 +01:00
commit b8e7b088a2
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87

View file

@ -10,15 +10,7 @@
{
services.loki = {
enable = true;
# FIXME: revert to original file when upstream fix released
# https://github.com/grafana/loki/issues/16990
# https://github.com/grafana/loki/issues/17736
# configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
configFile = pkgs.runCommand "patched-loki-cfg.yml" { } ''
substitute "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml" "$out" \
--replace-fail "enable_multi_variant_queries: true" ""
'';
configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
};
services.promtail = {
enable = true;