attempting to fix bevy building

main
Johannes Hendrik Gerard van der Weide 2023-11-20 18:38:17 +01:00
parent a6e6681832
commit 6452fd0eb0
3 changed files with 11 additions and 5 deletions

View File

@ -3,6 +3,5 @@ name = "bevy-game"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
bevy = "0.12.0"

View File

@ -40,9 +40,12 @@
default = pkgs.mkShell { default = pkgs.mkShell {
# The Nix packages provided in the environment # The Nix packages provided in the environment
packages = (with pkgs; [ packages = (with pkgs; [
# The package provided by our custom overlay. Includes cargo, Clippy, cargo-fmt, # Fluff
# rustdoc, rustfmt, and other tools.
onefetch onefetch
cargo-mommy
# Required and other tools
pkg-config
alsa-lib
rustToolchain rustToolchain
]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]); ]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]);
shellHook = '' shellHook = ''

View File

@ -1,3 +1,7 @@
use bevy::prelude::*;
fn main() { fn main() {
println!("Heyo, g*mers!"); App::new()
.add_plugins(DefaultPlugins)
.run();
} }