about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2023-06-26 00:15:56 +0200
committerEmile <git@emile.space>2023-06-26 00:16:52 +0200
commitc6f4cecac75a6c243328d608df6305800d8cc594 (patch)
treebe1199e66ff24e295f787c455285ca3008869550
parent1374b6aa8b292299acc73fb97ecf464799ad5188 (diff)
first hydra jobset try as a flake output
-rw-r--r--flake.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 318e03e..b0e5d4b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -24,6 +24,14 @@
         devShell = pkgs.mkShell {
           nativeBuildInputs = with pkgs; [ rustc cargo ];
         };
+
+        # hydraJobs."<attr>"."<system>" = derivation;
+
+        hydraJobs = {
+          build."x86_64-linux" = naersk'.buildPackage {
+            src = ./.;
+          };
+        };
       }
     );
 }
\ No newline at end of file