diff --git a/Cargo.toml b/Cargo.toml index aa3d0b5..b9da252 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ opt-level = 1 opt-level = 3 [dependencies] -bevy = { version = "0.13.2" } +bevy = { version = "0.13.2", features = ["wayland"] } bevy_egui = "0.27.0" bevy_hanabi = "0.10.0" lazy_static = "1.4.0" diff --git a/flake.nix b/flake.nix index 3285b5a..cceddce 100644 --- a/flake.nix +++ b/flake.nix @@ -41,16 +41,14 @@ pkgs.udev pkgs.alsa-lib pkgs.libxkbcommon + pkgs.wayland ]}"''; buildInputs = with pkgs; [ xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature - libxkbcommon # To use the wayland feature + libxkbcommon wayland # To use the wayland feature udev alsa-lib vulkan-loader - pkgs.nixgl.nixVulkanIntel - mold - clang - pkg-config - tokei + + pkgs.nixgl.nixVulkanIntel mold clang pkg-config tokei ]; }; }