No description
| .cargo | ||
| assets | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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