Watch
0
0
Fork
You've already forked hyperhive
0

build the single-host fixture's nginx config in a check so gixy runs in ci

This commit is contained in:
atlas 2026-10-28 23:24:35 +01:00
commit ec14977949

View file

@ -23,6 +23,15 @@ in
{
formatting = treefmt-eval.config.build.check self;
# The module-eval suite below only evaluates, so nothing else builds
# nginx's config file, whose derivation runs gixy over it. Naming the
# `ExecStart` that points at it makes this derivation depend on it, so a
# directive gixy refuses fails here instead of in a host build. The
# single-host swarm fixture serves the swarm UI vhost.
nginx-conf-all-local = pkgs.runCommand "nginx-conf-all-local" { } ''
echo ${pkgs.lib.escapeShellArg moduleEvalShared.allLocal.systemd.services.nginx.serviceConfig.ExecStart} > $out
'';
# The only checks here that cover **nix**. Every other one is a Rust
# derivation, so a `.nix`-only diff moves no hash and the whole set is
# cache hits — green without evaluating what changed. See