mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-23 16:36:23 +00:00
Merge pull request #68298 from NousResearch/ethie/cage-nix
nix: add cage to devDeps
This commit is contained in:
commit
5c4dc46cce
1 changed files with 13 additions and 5 deletions
|
|
@ -22,6 +22,9 @@
|
|||
wl-clipboard,
|
||||
xclip,
|
||||
|
||||
# linux-only dev deps
|
||||
cage,
|
||||
|
||||
# Flake inputs — passed explicitly by packages.nix and overlays.nix
|
||||
uv2nix,
|
||||
pyproject-nix,
|
||||
|
|
@ -61,8 +64,7 @@ let
|
|||
|
||||
bundledSkills = lib.cleanSourceWith {
|
||||
src = ../skills;
|
||||
filter =
|
||||
path: _type: !(lib.hasInfix "/index-cache/" path) && !(lib.hasInfix "/__pycache__/" path);
|
||||
filter = path: _type: !(lib.hasInfix "/index-cache/" path) && !(lib.hasInfix "/__pycache__/" path);
|
||||
};
|
||||
|
||||
# Optional skills are NOT in the wheel (pythonSrc excludes them, see
|
||||
|
|
@ -70,8 +72,7 @@ let
|
|||
# same mechanism Homebrew packaging uses.
|
||||
bundledOptionalSkills = lib.cleanSourceWith {
|
||||
src = ../optional-skills;
|
||||
filter =
|
||||
path: _type: !(lib.hasInfix "/index-cache/" path) && !(lib.hasInfix "/__pycache__/" path);
|
||||
filter = path: _type: !(lib.hasInfix "/index-cache/" path) && !(lib.hasInfix "/__pycache__/" path);
|
||||
};
|
||||
|
||||
# Import bundled plugins (memory, context_engine, platforms/*). Keeping
|
||||
|
|
@ -251,7 +252,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
export HERMES_PYTHON=${devPython}/bin/python3
|
||||
'';
|
||||
|
||||
devDeps = runtimeDeps ++ [ devPython ];
|
||||
devDeps =
|
||||
runtimeDeps
|
||||
++ [
|
||||
devPython
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
cage # for running e2e tests without popping windows
|
||||
];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue