flake.nix: add hydraJobs

This commit is contained in:
Astro 2021-03-13 03:44:39 +01:00
parent 5007b929ae
commit 449cac3176
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,7 @@
let let
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
forSystems = nixpkgs.lib.genAttrs systems; forSystems = nixpkgs.lib.genAttrs systems;
in { in rec {
packages = forSystems (system: packages = forSystems (system:
import ./default.nix { import ./default.nix {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@ -16,6 +16,9 @@
self.packages.${system}.ticker-serve self.packages.${system}.ticker-serve
); );
hydraJobs =
packages.${builtins.head systems};
devShell = import ./shell.nix { devShell = import ./shell.nix {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
}; };