From b8e7b088a2fe9d301242fa70db5e315bef43c167 Mon Sep 17 00:00:00 2001 From: emilylange Date: Tue, 2 Dec 2025 17:19:45 +0100 Subject: [PATCH] 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. --- nixos/tests/loki.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nixos/tests/loki.nix b/nixos/tests/loki.nix index 1c67b0e7f7f2..3b2e29e3443c 100644 --- a/nixos/tests/loki.nix +++ b/nixos/tests/loki.nix @@ -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;