From eba375e7b2c03bd72a29f0cbd99e2ca1fcaabf3f Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Fri, 26 May 2023 21:35:05 +0200 Subject: [PATCH] export hydra jobs --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index de71dcf..17a1c5c 100644 --- a/flake.nix +++ b/flake.nix @@ -169,5 +169,11 @@ ]; }; }; + + hydraJobs = + let + get-toplevel = (host: nixSystem: nixSystem.config.microvm.declaredRunner or nixSystem.config.system.build.toplevel); + in + nixpkgs.lib.mapAttrs get-toplevel self.nixosConfigurations; }; }