diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix index 5174717f0404..e4f8fb108cf0 100644 --- a/pkgs/applications/networking/browsers/firefox/default.nix +++ b/pkgs/applications/networking/browsers/firefox/default.nix @@ -1,4 +1,5 @@ { stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi +, libjpeg, libpng, zlib, cairo , # If you want the resulting program to call itself "Firefox" instead # of "Deer Park", enable this option. However, those binaries may @@ -17,7 +18,9 @@ stdenv.mkDerivation { md5 = "c76f02956645bc823241379e27f76bb5"; }; - buildInputs = [pkgconfig gtk perl zip libIDL libXi]; + buildInputs = [ + pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo + ]; inherit gtk; patches = [./writable-copies.patch]; @@ -34,6 +37,7 @@ stdenv.mkDerivation { "--with-system-jpeg" "--with-system-png" "--with-system-zlib" + "--with-system-cairo" ] ++ (if enableOfficialBranding then ["--enable-official-branding"] else []); diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 8942792bd997..56d45096ad53 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1836,7 +1836,7 @@ rec { }; firefox = (import ../applications/networking/browsers/firefox) { - inherit fetchurl stdenv pkgconfig perl zip; + inherit fetchurl stdenv pkgconfig perl zip libjpeg libpng zlib cairo; inherit (gtkLibs) gtk; inherit (gnome) libIDL; inherit (xlibs) libXi;