nix --extra-experimental-features nix-command --extra-experimental-features flakes run github:friedow/centerpiece
output/error:
thread 'main' panicked at /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/winit-0.28.7/src/platform_impl/linux/mod.rs:757:9:
Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: LibraryOpenError(OpenError { kind: Library, detail: "opening library failed (libX11.so.6: cannot open shared object file: No such file or directory); opening library failed (libX11.so: cannot open shared object file: No such file or directory)" })
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: winit::platform_impl::platform::EventLoop<T>::new
3: iced_winit::application::run
4: centerpiece::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
I also have another rust project that also uses winit (0.29 though) and that seems to work just fine...
And im pretty sure i also have XWayland installed...
PS: I dont have much experience with nix and could not find how to install this package (nix-env does not seem to accept github:user/repo) and its confusing that I need to pass extra flags to the nix command you give to run it in the readme.
os: endeavour-os wm: hyprland (wayland)
command:
output/error:
I also have another rust project that also uses winit (0.29 though) and that seems to work just fine... And im pretty sure i also have XWayland installed...
PS: I dont have much experience with nix and could not find how to install this package (nix-env does not seem to accept github:user/repo) and its confusing that I need to pass extra flags to the nix command you give to run it in the readme.