Commit Graph
2 Commits
Author SHA1 Message Date
kinect-botandsisyphus-dev-ai fd1c9ad3e5 feat(build): add a Nix flake for a venv-free Linux build
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>
2026-11-30 10:00:15 -05:00
kinect-bot 39876fa97b docs(setup): README + linux/windows setup + calibration/troubleshooting + packaging (wave 11; todo 18 done)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
2026-11-25 06:10:54 -05:00