mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
ci: fix lint glob + format nix files
This commit is contained in:
parent
c3da68363c
commit
ba6c63e9bf
4 changed files with 113 additions and 58 deletions
15
flake.nix
15
flake.nix
|
|
@ -6,8 +6,14 @@
|
|||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
|
|
@ -19,14 +25,15 @@
|
|||
|
||||
checks = import ./checks.nix {
|
||||
inherit pkgs;
|
||||
hermes-agent = self.packages.${system}.hermes-agent;
|
||||
inherit (self.packages.${system}) hermes-agent;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [ self.packages.${system}.hermes-agent ];
|
||||
};
|
||||
}
|
||||
) // {
|
||||
)
|
||||
// {
|
||||
nixosModules = {
|
||||
hermes-agent = import ./module.nix self;
|
||||
default = self.nixosModules.hermes-agent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue