This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pkgs.omnigent: hand the dependency closure to respawned daemons

+14
+14
5pkgs/omnigent/package.nix
··· 141 141 ++ py.pyjwt.optional-dependencies.crypto 142 142 ++ py.uvicorn.optional-dependencies.standard; 143 143 144 + # The CLI respawns itself as `sys.executable -m omnigent.host._daemon_entry` 145 + # (cli.py:2945) for the host daemon, and the daemon spawns runners the same 146 + # way. That is the *bare* interpreter, without the site-dirs that 147 + # wrapPythonPrograms bakes into the console script, so those children die 148 + # with ModuleNotFoundError: No module named 'omnigent' and every session hangs 149 + # on "the connect daemon did not come online within 30s". Hand them the 150 + # transitive dependency closure through PYTHONPATH, which omnigent's own 151 + # daemon/runner env allowlist preserves (host/connect.py) while the agent 152 + # spawn allowlist drops it (inner/agent_env.py), so it never reaches omp. 153 + postFixup = '' 154 + buildPythonPath "$out $pythonPath" 155 + wrapProgram $out/bin/omnigent --prefix PYTHONPATH : "$program_PYTHONPATH" 156 + ''; 157 + 144 158 pythonImportsCheck = [ 145 159 "omnigent" 146 160 "omnigent_client"