From d41ca97ddc1e3e47c12e9fa25b06d0cf67095635 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 16 Oct 2024 22:20:39 +0300 Subject: [PATCH] firefox-bin: fix `webgpu` support Did not test firefox-bin, only tested the firefox from flake-firefox-nightly but I'm assuming both have the same issue. https://www.github.com/nix-community/flake-firefox-nightly/issues/36 --- pkgs/applications/networking/browsers/firefox/wrapper.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 5cd1246531008..73cdd9103de91 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -15,6 +15,7 @@ , mesa # firefox wants gbm for drm+dmabuf , cups , pciutils +, vulkan-loader , sndio , libjack2 , speechd-minimal @@ -86,7 +87,7 @@ let else []) ); - libs = lib.optionals stdenv.hostPlatform.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils ] + libs = lib.optionals stdenv.hostPlatform.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils vulkan-loader ] ++ lib.optional pipewireSupport pipewire ++ lib.optional ffmpegSupport ffmpeg ++ lib.optional gssSupport libkrb5