From 52ea4804e2cf20a5c29b4a0af24399615d93c7ff Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 16 Nov 2010 23:19:08 +0000 Subject: [PATCH] Correctly override cairo for firefox 4.0 beta svn path=/nixpkgs/trunk/; revision=24715 --- pkgs/top-level/all-packages.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd09c5bf6497..51f0068d116f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3043,7 +3043,7 @@ let }); - gtkLibs220 = recurseIntoAttrs (let callPackage = newScope pkgs.gtkLibs220; in rec { + gtkLibs220 = recurseIntoAttrs (let callPackage = pkgs.newScope pkgs.gtkLibs220; in rec { glib = callPackage ../development/libraries/glib/2.24.x.nix { }; @@ -5623,9 +5623,11 @@ let inherit (gnome) libIDL; }; - firefox40Pkgs = callPackage ../applications/networking/browsers/firefox/4.0.nix { - inherit (gtkLibs) gtk pango; - inherit (gnome) libIDL; + firefox40Pkgs = let p = (applyGlobalOverrides (x : {cairo = x.cairo_1_10_0;})); + in p.callPackage + ../applications/networking/browsers/firefox/4.0.nix { + inherit (p.gtkLibs) gtk pango; + inherit (p.gnome) libIDL; }; firefox36Wrapper = wrapFirefox firefox36Pkgs.firefox "firefox" "";