From 24c2e1738a8c4f271535d05f302596ba0f564137 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 16 Apr 2023 15:50:10 +0200 Subject: [PATCH] lib/flake-helper: Ignore all hosts which name starts with an underscore for hydra --- lib/flake-helper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flake-helper.nix b/lib/flake-helper.nix index 1e3acaa..3fd2d33 100644 --- a/lib/flake-helper.nix +++ b/lib/flake-helper.nix @@ -40,5 +40,5 @@ rec { mapToColmenaHosts = hosts: builtins.mapAttrs (generateColmenaHost) hosts; - buildHosts = hosts: builtins.mapAttrs (name: host: host.config.system.build.toplevel) hosts; + buildHosts = hosts: builtins.mapAttrs (name: host: host.config.system.build.toplevel) (nixpkgs.lib.filterAttrs (name: host: (builtins.substring 0 1 name) != "_") hosts); }