flake.nix: add hydraJobs

This commit is contained in:
Astro 2021-03-13 03:44:39 +01:00
parent 5007b929ae
commit 449cac3176
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni

Vedi File

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