From 0276958fed326087b34652491eb8600b1e750cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 13 Feb 2010 22:36:48 +0000 Subject: [PATCH] GNU IceCat: Attempt to work around known bugs. svn path=/nixpkgs/trunk/; revision=19986 --- .../networking/browsers/icecat-3/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/applications/networking/browsers/icecat-3/default.nix b/pkgs/applications/networking/browsers/icecat-3/default.nix index 4335c63c7c7a..32f17003057e 100644 --- a/pkgs/applications/networking/browsers/icecat-3/default.nix +++ b/pkgs/applications/networking/browsers/icecat-3/default.nix @@ -30,6 +30,18 @@ stdenv.mkDerivation { ./skip-gre-registration.patch ./rpath-link.patch ]; + postPatch = + # Work around the broken `firefox.js' in 3.6. See + # http://news.gmane.org/gmane.comp.gnu.gnuzilla/1419 for details. + let firefox_js = fetchurl { + url = "http://svn.savannah.gnu.org/viewvc/*checkout*/trunk/icecat/browser/app/profile/firefox.js?revision=94&root=gnuzilla" + sha256 = "1pab9nlf6yykxmq6ky79vrdraqf49ww2whnfymq5r7gs75s46frl"; + name = "firefox.js"; + }; + in + '' cp -v "${firefox_js}" "browser/app/profile/" + ''; + configureFlags = [ "--enable-application=${application}" "--enable-libxul"