Watch
0
0
Fork
You've already forked hyperhive
0

module-eval: give the Grafana stand-in a mainProgram, so upstream's getExe stops warning

This commit is contained in:
damocles 2026-11-05 09:26:30 +01:00 • committed by mara
commit 3a77e869eb

View file

@ -301,9 +301,17 @@ let
);
in
builtins.foldl' (acc: v: builtins.seq v acc) true vals;
# A stand-in for the Grafana package in the cases that do not run it. Upstream's
# Grafana module takes the executable's name from `meta.mainProgram`, and
# warns when a package has none.
grafanaStub = pkgs.emptyDirectory // {
meta.mainProgram = "grafana";
};
in
{
inherit hive hiveWith;
inherit grafanaStub;
inherit hiveWithController;
inherit agent;
inherit agentWith;