leetvr / hotham

Hotham is a tool for creating incredible standalone VR games.
Apache License 2.0
396 stars 28 forks source link

Create shell.nix for quick Nix(OS) setup #440

Closed MultisampledNight closed 1 year ago

MultisampledNight commented 1 year ago

This allows nix or NixOS users to just run nix-shell in the repo and get almost everything listed in the getting started guide up and running automagically. Worth noting that following steps need to be taken manually:

Adding --package crab-saber to the cargo apk command was required for me to get it even running, else it complained about not being sure which workspace member to pick.

Note: Since I have no VR device, Android deployment was tested using my mobile phone. I did observe the app building and launching on my phone, however, it gave no display output (but errored still just fine and displayed that on the host PC).

MultisampledNight commented 1 year ago

(I'd add the documentation to the wiki after merge.)

MultisampledNight commented 1 year ago

clippy failure seems unrelated to the changes made.