Fixed audio issues on nixos

This commit is contained in:
2025-07-26 21:45:31 +03:00
parent 8288d36237
commit 81aed34640
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
.platform = rlz.PlatformBackend.glfw,
.linux_display_backend = rlz.LinuxDisplayBackend.X11,
.linux_display_backend = rlz.LinuxDisplayBackend.Both,
// See https://github.com/Not-Nik/raylib-zig/issues/219
// We can either have users download both, or maybe try disabling lld?

View File

@@ -15,9 +15,9 @@
];
buildInputs = with pkgs; [
alsa-lib
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr xorg.libXinerama # For x11
libxkbcommon wayland glfw-wayland wayland-scanner # For wayland
SDL
];
in {