From ec14977949cae6ebd343980bfdcce6af2af43b36 Mon Sep 17 00:00:00 2001 From: atlas Date: Wed, 28 Oct 2026 23:24:35 +0100 Subject: [PATCH] build the single-host fixture's nginx config in a check so gixy runs in ci --- nix/checks.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nix/checks.nix b/nix/checks.nix index 88c2907d..fd89b2ad 100644 --- a/nix/checks.nix +++ b/nix/checks.nix @@ -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