attempting to fix bevy building
parent
a6e6681832
commit
6452fd0eb0
|
@ -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"
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
use bevy::prelude::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Heyo, g*mers!");
|
App::new()
|
||||||
|
.add_plugins(DefaultPlugins)
|
||||||
|
.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue