15 lines
620 B
Nix
15 lines
620 B
Nix
# nix/overlays.nix — Expose pkgs.hermes-agent for external NixOS configs
|
|
#
|
|
# The overlay is a pure alias for this flake's own package — NOT a
|
|
# re-instantiation against the consumer's nixpkgs. This guarantees
|
|
# `pkgs.hermes-agent`, `nix build .#default`, and the NixOS module's
|
|
# default package are all the exact same locked, tested derivation.
|
|
# (.override { extraPythonPackages = ...; } still works — callPackage's
|
|
# makeOverridable travels with the package.)
|
|
{ inputs, ... }:
|
|
{
|
|
flake.overlays.default = final: _: {
|
|
hermes-agent = inputs.self.packages.${final.stdenv.hostPlatform.system}.default;
|
|
};
|
|
}
|