Skip to content

Commit

Permalink
ci: add typhon jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Oct 24, 2023
1 parent fdea675 commit e4b506c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nix/jobs.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{sources ? import ./sources.nix}: let
system = "x86_64-linux";
in {
${system} = {
typhon = import ./packages/server.nix {inherit sources system;};
typhon-webapp = import ./packages/webapp.nix {inherit sources system;};
formatted = import ./checks/formatted.nix {inherit sources system;};
nixos = import ./checks/nixos.nix {inherit sources system;};
};
}
2 changes: 2 additions & 0 deletions nix/outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ in {
packages = lib.eachSystem (system: import ./packages {inherit sources system;});

nixosModules.default = import ./nixos/typhon.nix {inherit sources;};

typhonJobs = import ./jobs.nix {inherit sources;};
}

0 comments on commit e4b506c

Please sign in to comment.