From 8f6e6e767a7381e065fcfd0299fc6f22ba98f5f6 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 17 Jun 2022 01:42:10 +0200 Subject: [PATCH] flake.nix: let hydraJobs build the whole microvm-runner if defined --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 643aa21e..c6f0a60f 100644 --- a/flake.nix +++ b/flake.nix @@ -683,7 +683,9 @@ hydraJobs = builtins.mapAttrs (_: nixpkgs.lib.hydraJob) ( builtins.mapAttrs (_: nixosSystem: - nixosSystem.config.system.build.toplevel + if nixosSystem.config ? microvm.declaredRunner + then nixosSystem.config.microvm.declaredRunner + else nixosSystem.config.system.build.toplevel ) self.nixosConfigurations // nixpkgs.lib.filterAttrs (name: _: