From cfcc611cb493641d52c39647a3068f4337e238dd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 21 Mar 2022 03:45:46 +0100 Subject: [PATCH] firefox: use our own libwebp --- pkgs/applications/networking/browsers/firefox/common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index 14a5ba2e05a6..4a3172b6f594 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -17,6 +17,7 @@ , libGLU, libGL, sqlite, unzip, makeWrapper , hunspell, libevent, libstartup_notification , libvpx +, libwebp , icu, libpng, glib, pciutils , autoconf, which, gnused, rustPackages, rustPlatform , rust-cbindgen, nodejs, nasm, fetchpatch @@ -179,6 +180,7 @@ buildStdenv.mkDerivation ({ libevent libstartup_notification libpng glib nasm icu libvpx + libwebp nspr nss ] ++ lib.optional alsaSupport alsa-lib @@ -267,6 +269,7 @@ buildStdenv.mkDerivation ({ "--with-libclang-path=${llvmPackages.libclang.lib}/lib" "--with-system-nspr" "--with-system-nss" + "--with-system-webp" ] ++ lib.optional (buildStdenv.isDarwin) "--disable-xcode-checks" ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang"