From a8499fb2624d59cbf02b5c122082c472bf8c96ab Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Aug 2026 14:41:53 +0300 Subject: [PATCH] firefoxpwa: fix DRM Fixes #505426. See also: https://discourse.nixos.org/t/firefoxpwa-drm-not-working-when-launched-thru-desktop-entry/79371/2 (cherry picked from commit 8dffbac5768f979338b7f05aec422de1ba42f223) --- pkgs/by-name/fi/firefoxpwa-unwrapped/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/fi/firefoxpwa-unwrapped/package.nix b/pkgs/by-name/fi/firefoxpwa-unwrapped/package.nix index ffd28d2e605b..572074bb75fb 100644 --- a/pkgs/by-name/fi/firefoxpwa-unwrapped/package.nix +++ b/pkgs/by-name/fi/firefoxpwa-unwrapped/package.nix @@ -95,6 +95,17 @@ rustPlatform.buildRustPackage rec { binaryName = "firefoxpwa"; applicationName = "firefoxpwa"; inherit (firefoxRuntime) gtk3; + # Inherit all variables that related for wrapping, since this derivation is + # wrapped similarly to `firefoxRuntime`, and these passthru variables are + # read when `wrapFirefox` wraps this derivation too. + inherit (firefoxRuntime) + ffmpegSupport + gssSupport + alsaSupport + pipewireSupport + sndioSupport + jackSupport + ; }; meta = {