From c651703c6a92e222477b7f4e137eaa22a285f8fc Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 26 Apr 2023 02:17:06 -0400 Subject: ci: start using hercules ci --- .github/workflows/checkandformat.yml | 12 ++++++------ flake.nix | 9 +++++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml index b8f17ec..8560ae7 100644 --- a/.github/workflows/checkandformat.yml +++ b/.github/workflows/checkandformat.yml @@ -1,12 +1,12 @@ name: check and format flake on: - pull_request: - paths: - - "**.nix" - push: - paths: - - "**.nix" + #pull_request: + # paths: + # - "**.nix" + #push: + # paths: + # - "**.nix" workflow_dispatch: jobs: diff --git a/flake.nix b/flake.nix index c4f95e3..50a1bd4 100644 --- a/flake.nix +++ b/flake.nix @@ -1,4 +1,6 @@ { + description = "getchoo's nix expressions"; + nixConfig = { extra-substituters = ["https://nix-community.cachix.org"]; extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="]; @@ -37,6 +39,13 @@ in { formatter = forAllSystems (system: nixpkgsFor.${system}.alejandra); + herculesCI = { + ciSystems = [ + "x86_64-linux" + "aarch64-linux" + ]; + }; + packages = forAllSystems ( system: let pkgs = nixpkgsFor.${system}; -- cgit v1.2.3