How do I configure the backend? Error initializing winit event loop
#4146
Answered
by
tronical
WhiteBlackGoose
asked this question in
Q&A
-
Hi. I cloned the template, replaced placeholders and ran
I'm on NixOS + Wayland (hyprland). How to configure the backend? (tried |
Beta Was this translation helpful? Give feedback.
Answered by
tronical
Dec 12, 2023
Replies: 2 comments 9 replies
-
Slint will dynamically open the wayland libraries, it will try to open |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
WhiteBlackGoose
-
For fellow nix newbies like me, this is where it goes in my devShells.default = mkShell {
buildInputs = [
openssl
pkg-config
rust-bin.beta.latest.default
];
packages = [ pkgs.bashInteractive ];
# TODO: Read on shellHooks
shellHook = ''
# alias ls=eza
# alias find=fd
'';
LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${ with pkgs; lib.makeLibraryPath [
wayland
libxkbcommon
fontconfig
] }";
}; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Slint will dynamically open the wayland libraries, it will try to open
libwayland-client.so.0
orlibwayland-client.so
. Are those accessible in your Nix environment?