ttt-ce/README.md
2024-03-17 04:57:39 +01:00

831 B

Bevy Flake Template

Simple flake template for the Bevy game engine using Naersk.

Usage

Running without cloning

nix run github:justryanw/bevy-flake-template

Build with nix

# Clone and cd into repo
nix build
# Or
nix run # Runs client in release mode by default

Use dev or release profiles

nix run .#dev
nix run .#release

or enter dev environment and build using cargo

nix develop -c $SHELL # Use direnv to do this automatically
cargo run

Issues / Limitations

  • Workaround needed for multiple binaries (e.g. client/server), look at the multiple-binaries branch
  • Not setup for MacOS yet.
  • NixGL is needed to run on non NixOS systems
nix run --impure github:guibou/nixGL -- nix run