the meta flake takes docs from the pinned hyperhive input
This commit is contained in:
parent
bb13909d8e
commit
daf38e4c55
16 changed files with 29 additions and 197 deletions
|
|
@ -1,8 +1,6 @@
|
|||
# The swarm builder's build check: one agent config on hyperhive's agent base,
|
||||
# composed the way a hive's meta flake composes it, minus the values a hive
|
||||
# adds (its CA, claude-code path and ports). The docs source is set the way the
|
||||
# meta flake sets it: `hyperhive`'s source has no `docs/`, so the default
|
||||
# `docs.source` fails to evaluate.
|
||||
# adds (its CA, claude-code path and ports).
|
||||
#
|
||||
# Every input is replaced at build time with `--override-input`
|
||||
# (swarm-builder/src/nix_build.rs), so the URLs below are never fetched and
|
||||
|
|
@ -14,25 +12,19 @@
|
|||
nixpkgs.url = "flake:nixpkgs";
|
||||
hyperhive.url = "flake:hyperhive";
|
||||
hyperhive.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyperhive-docs.url = "flake:hyperhive-docs";
|
||||
hyperhive-docs.flake = false;
|
||||
agent.url = "flake:agent";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
hyperhive,
|
||||
hyperhive-docs,
|
||||
agent,
|
||||
...
|
||||
}:
|
||||
{
|
||||
packages.x86_64-linux.check =
|
||||
(hyperhive.nixosConfigurations.agent-base.extendModules {
|
||||
modules = [
|
||||
agent.nixosModules.default
|
||||
{ services.hyperhive.agent.docs.source = hyperhive-docs.outPath; }
|
||||
];
|
||||
modules = [ agent.nixosModules.default ];
|
||||
}).config.system.build.toplevel;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue