flake.nix builds the whole project with Nix instead of a manual uv venv:
- the Python tracker as a pure Nix-built environment via uv2nix, from
tracker/uv.lock (generated by uv lock against pyproject.tomls pins -
numpy==2.5.5, opencv-python-headless==5.1.0.95, mediapipe==1.2.3, Python
3.12), so the environment is an immutable Nix store path assembled from
hash-pinned wheels, never a mutable venv or a pip install step. libglvnd
replaces the manual libGLESv2.so.2 .deb-extraction workaround.
- the OS-agnostic core + CTest suite via cmake (nix run .#core-test).
- the Windows shim + native tracker cross-compiled via nixpkgs mingw-w64
(pkgsCross.mingwW64/mingw32; nix run .#shim-build), with CXX32/CXX64/CXX_WIN
wired to the build scripts override hooks.
nix run .#tracker runs the tracker directly; nix develop gives a shell with
everything for manual work. docs/setup-linux.md documents the Nix path as
the lead option, keeping the uv/venv path as the no-Nix fallback.
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>