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

Improve NixOS/Wayland documentation #3614

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,31 @@ If you run into issues with building basic apps or activating the GPU ('thread '
with pkgs;
mkShell {
+ shellHook = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath [
+ pkgs.alsaLib
+ pkgs.udev
+ pkgs.vulkan-loader
+ alsaLib
+ udev
+ vulkan-loader
+ ]}"'';
buildInputs = [
```

### Wayland support

For wayland support, add the `wayland` and `libxkbcommon` packages to the `makeLibraryPath` inputs in your `shell.nix`:

``` diff
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
shellHook = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath [
alsaLib
udev
vulkan-loader
+ wayland
+ libxkbcommon
]}"'';
buildInputs = [
```

## Opensuse Tumbleweed

```bash
Expand Down