From e33d3743949a1106d2bef562106bbab516f970fe Mon Sep 17 00:00:00 2001 From: Robin Stumm Date: Tue, 14 Jan 2025 22:07:17 +0100 Subject: [PATCH] prepare for garnix --- flake.nix | 6 +++++- garnix.yaml | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 garnix.yaml 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.*.*'