summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2024-10-16 22:20:39 +0300
committerArtturin <Artturin@artturin.com>2024-10-18 22:07:15 +0300
commit881e352be107ab60f5a62fb322c3c90688f4d4ba (patch)
treeabfbc4d12192d3649c8f96ba402ac8420d7cf17e
parent[24.05] linux_xanmod: backport small refactor to allow clean backports (#348702) (diff)
downloadnixpkgs-881e352be107ab60f5a62fb322c3c90688f4d4ba.tar.gz
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)
-rw-r--r--pkgs/applications/networking/browsers/firefox/wrapper.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 15c8ffc3b22d..b53b2e653c74 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