summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index f403789..a285775 100644
--- a/flake.nix
+++ b/flake.nix
@@ -53,17 +53,23 @@
formatter = forEachSystem (pkgs: pkgs.alejandra);
- hydraJobs = let
- supportedSystems = [
+ herculesCI = let
+ ciSystems = [
"x86_64-linux"
"aarch64-linux"
];
lib = self.lib {inherit (self) inputs;};
- in
- with lib.ci supportedSystems; {
- packages = mkCompatiblePkgs self.packages;
+ inherit (lib.ci ciSystems) mkCompatiblePkgs;
+ in {
+ inherit ciSystems;
+
+ onPush.default = {
+ outputs = {
+ packages = mkCompatiblePkgs self.packages;
+ };
};
+ };
packages = forEachSystem (
pkgs: let