You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since #10702, winit needs libxkbcommon-x11. This was mentioned in the docs for Ubuntu (since #11060), but not for other distros. I ran into this issue today when trying to run a bevy app with DefaultPlugins on my fresh NixOS installation. This should probably be mentioned on the docs.
The text was updated successfully, but these errors were encountered:
Never mind, I didn't have my flake setup properly. For anyone who wants a working flake:
{description="A basic flake with a shell";inputs.nixpkgs.url="github:NixOS/nixpkgs/nixpkgs-unstable";inputs.flake-utils.url="github:numtide/flake-utils";inputs.rust-overlay.url="github:oxalica/rust-overlay";outputs={nixpkgs,rust-overlay,flake-utils, ... }:
flake-utils.lib.eachDefaultSystem(system:
letoverlays=[(importrust-overlay)];pkgs=importnixpkgs{inheritsystemoverlays;};in{devShells.default=pkgs.mkShellrec{nativeBuildInputs=withpkgs;[pkg-config];buildInputs=withpkgs;[(rust-bin.selectLatestNightlyWith(toolchain: toolchain.default))lldclangudevalsa-libvulkan-loaderxorg.libX11xorg.libXcursorxorg.libXixorg.libXrandr# To use the x11 featurelibxkbcommonwayland# To use the wayland feature];LD_LIBRARY_PATH=pkgs.lib.makeLibraryPathbuildInputs;};});}
Ever since #10702, winit needs
libxkbcommon-x11
. This was mentioned in the docs for Ubuntu (since #11060), but not for other distros. I ran into this issue today when trying to run a bevy app withDefaultPlugins
on my fresh NixOS installation. This should probably be mentioned on the docs.The text was updated successfully, but these errors were encountered: