summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-22 20:03:52 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-22 20:28:21 +0200
commitf46fe7b909a4385c576e1ac612b5b8e076a3b338 (patch)
tree2d4b889928f3765e2e723046d5ef24611e99d19e /pkgs/applications/networking
parent4bcbfb33f815069700658957f1233546df32a195 (diff)
downloadnixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar.gz
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar.bz2
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar.lz
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar.xz
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.tar.zst
nixlib-f46fe7b909a4385c576e1ac612b5b8e076a3b338.zip
firefox: Update to 41.0
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/firefox/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix
index 6c8baad76213..ea9d03f321e0 100644
--- a/pkgs/applications/networking/browsers/firefox/default.nix
+++ b/pkgs/applications/networking/browsers/firefox/default.nix
@@ -22,7 +22,9 @@ common = { pname, version, sha1 }: stdenv.mkDerivation rec {
   name = "${pname}-${version}";
 
   src = fetchurl {
-    url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2";
+    url =
+      let ext = if lib.versionAtLeast version "41.0" then "xz" else "bz2";
+      in "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.${ext}";
     inherit sha1;
   };
 
@@ -77,6 +79,7 @@ common = { pname, version, sha1 }: stdenv.mkDerivation rec {
       "--disable-installer"
       "--disable-updater"
       "--enable-jemalloc"
+      "--disable-gconf"
     ]
     ++ lib.optional enableGTK3 "--enable-default-toolkit=cairo-gtk3"
     ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]
@@ -137,8 +140,8 @@ in {
 
   firefox = common {
     pname = "firefox";
-    version = "40.0.3";
-    sha1 = "6ddda46bd6540ab3ae932fbb5ffec8e9a85cab13";
+    version = "41.0";
+    sha1 = "0ce7a5ccdf671a6c98eaac07d06d49a895a99449";
   };
 
   firefox-esr = common {