mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
- Patch upstream pyproject.toml to include minisweagent_path in py-modules - Copy mini-swe-agent/src/minisweagent into package for importability - Add 3 nix checks: package-contents, cli-commands, doctor - All binaries tested: hermes, hermes-agent, hermes-acp - hermes gateway, config, status, claw migrate all verified working
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{
|
|
description = "Nix package and NixOS module for Hermes Agent by Nous Research";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
packages = {
|
|
hermes-agent = pkgs.callPackage ./package.nix { };
|
|
default = self.packages.${system}.hermes-agent;
|
|
};
|
|
|
|
checks = import ./checks.nix {
|
|
inherit pkgs;
|
|
hermes-agent = 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;
|
|
};
|
|
|
|
overlays.default = final: prev: {
|
|
hermes-agent = final.callPackage ./package.nix { };
|
|
};
|
|
};
|
|
}
|