hotfix: add wayland support

This commit is contained in:
Muhammad Nauman Raza 2024-05-27 20:08:39 +01:00
parent e7922260a7
commit ee92894630
Signed by: devraza
GPG key ID: 91EAD6081011574B
2 changed files with 5 additions and 7 deletions

View file

@ -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"

View file

@ -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
];
};
}