This commit is contained in:
@@ -23,6 +23,12 @@ python3Packages.buildPythonApplication rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
# `start` re-runs sys.executable with `-m codex_api_proxy.cli`. The Nix
|
||||
# console wrapper injects site paths with site.addsitedir, not PYTHONPATH,
|
||||
# so the daemon child cannot import the package. Pass the parent's sys.path
|
||||
# through the environment.
|
||||
patches = [ ./daemon-pythonpath.patch ];
|
||||
|
||||
# [project.dependencies] plus the uvicorn[standard] extra.
|
||||
dependencies = with python3Packages; [
|
||||
fastapi
|
||||
|
||||
Reference in New Issue
Block a user