module-eval: name the grafana helper the refusal readers are shaped after

Comment-only. The helper it points at is `grafanaRefusedFor`, not an
unnamed one.
This commit is contained in:
atlas 2026-09-23 09:56:43 +02:00 committed by mara
commit 9d339b1b58

View file

@ -81,8 +81,9 @@ let
# fixture in a state the module refuses stays evaluable and the refusal reads
# back as data. Matched on the option name the message names rather than on
# its prose, because the option name is the part an operator has to act on
# and a message that stopped naming it would be the actual defect. The same
# helper ./grafana.nix uses for `swarm-grafana.nix`'s own refusal.
# and a message that stopped naming it would be the actual defect. Same shape
# as ./grafana.nix's `grafanaRefusedFor`, which reads `swarm-grafana.nix`'s
# own refusal.
refusedOver = m: option: lib.any (a: !a.assertion && lib.hasInfix option a.message) m.assertions;
cases = [
{