module-eval: give the Grafana stand-in a mainProgram, so upstream's getExe stops warning
This commit is contained in:
parent
cb5a9b2bd7
commit
3a77e869eb
1 changed files with 16 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue