Browse Source

flake.nix: add hydraJobs

master
Astro 4 months ago
parent
commit
449cac3176
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      flake.nix

+ 4
- 1
flake.nix View File

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

Loading…
Cancel
Save