Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick exit on nixos with sway #609

Open
nyonson opened this issue Dec 23, 2024 · 2 comments
Open

Quick exit on nixos with sway #609

nyonson opened this issue Dec 23, 2024 · 2 comments

Comments

@nyonson
Copy link

nyonson commented Dec 23, 2024

Attempting to run on the following setup results in nothing opening and a very quick successful exit. Log is pretty sparse as well. I am using the direnv supplied shell, but as far as I can tell the environment variables still look good. Hopefully some user error?

  • NixOS
  • Wayland/Sway
$ RUST_LOG=debug cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
     Running `target/debug/notedeck`
2024-12-23T21:36:47.618469Z DEBUG eframe: Using the wgpu renderer    
$ echo $?
0
@jb55
Copy link
Contributor

jb55 commented Dec 25, 2024

I know with x11 I needed:

let
  x11libs = lib.makeLibraryPath (with xorg; [
  			libX11
  			libXcursor
  			libXrandr
  			libxi
  			libglvnd
  			vulkan-loader
  			vulkan-validation-layers
  			libxkbcommon ]);
in
{
    LD_LIBRARY_PATH = "${x11libs}";
}

not sure if wayland needs something similar

@duck1123
Copy link

Adding wayland to that list fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants