From 881e352be107ab60f5a62fb322c3c90688f4d4ba 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 (cherry picked from commit d41ca97ddc1e3e47c12e9fa25b06d0cf67095635) --- 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 15c8ffc3b22d6..b53b2e653c743 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 @@ -86,7 +87,7 @@ let else []) ); - libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils ] + libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils vulkan-loader ] ++ lib.optional pipewireSupport pipewire ++ lib.optional ffmpegSupport ffmpeg ++ lib.optional gssSupport libkrb5