From 5150b94fbd7b25045f503f99eef3e15e38f75391 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 2 Mar 2024 17:48:28 -0800 Subject: [PATCH] Configured x86_64-linux to be built by hydra --- flake.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 9cc30b6..7c14acc 100644 --- a/flake.nix +++ b/flake.nix @@ -89,13 +89,22 @@ # dependencies for architectures other than the host machine # checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib; - hydraJobs = { + hydraJobs = let + systems_to_build = [ + "gospel" + "node" + "carbon" + ]; + in { inherit (inputs.self) packages ; - node = inputs.self.nixosConfigurations.node.config.system.build.toplevel; + systems = inputs.nixpkgs.lib.attrsets.genAttrs systems_to_build ( + name: + inputs.self.nixosConfigurations."${name}".config.system.build.toplevel + ); }; }; }