hotfix: add wayland support
This commit is contained in:
parent
e7922260a7
commit
ee92894630
|
@ -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"
|
||||
|
|
10
flake.nix
10
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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue