diff --git a/flake.nix b/flake.nix index b27d593b5..77f5ba314 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,9 @@ sources = import nix/sources.nix; pkgs = import sources.nixpkgs { system = builtins.head systems; }; inherit (pkgs) lib; - in { + in rec { + checks = hydraJobs; + hydraJobs = lib.genAttrs systems (system: let exposed = import ./. { inherit sources; @@ -37,9 +39,11 @@ nixConfig = { extra-substituters = [ "https://cache.iog.io" + "https://cache.garnix.io" ]; extra-trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ]; }; } diff --git a/garnix.yaml b/garnix.yaml new file mode 100644 index 000000000..da969a100 --- /dev/null +++ b/garnix.yaml @@ -0,0 +1,3 @@ +builds: + include: + - 'checks.*.*'