Skip to content

Commit

Permalink
firefox: 76.0.1 -> 77.0.1
Browse files Browse the repository at this point in the history
(cherry picked from commit dd334eb)
  • Loading branch information
ajs124 authored and andir committed Jun 8, 2020
1 parent e3e66c8 commit 03be5f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 6 additions & 2 deletions pkgs/applications/networking/browsers/firefox/common.nix
Expand Up @@ -51,6 +51,10 @@
, xcbuild, CoreMedia, ExceptionHandling, Kerberos, AVFoundation, MediaToolbox
, CoreLocation, Foundation, AddressBook, libobjc, cups, rsync

# dependencies requires for stable backports

, rust-cbindgen_0_14_1

## other

# As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at
Expand Down Expand Up @@ -96,6 +100,7 @@ let

nss_pkg = if lib.versionAtLeast ffversion "74" then nss_3_52 else nss;
sqlite_pkg = if lib.versionAtLeast ffversion "74" then sqlite_3_31_1 else sqlite;
rust-cbindgen_pkg = if lib.versionAtLeast ffversion "77" then rust-cbindgen_0_14_1 else rust-cbindgen;

in

Expand Down Expand Up @@ -151,7 +156,6 @@ stdenv.mkDerivation ({
"-Wno-error=format-security");

postPatch = ''
substituteInPlace third_party/prio/prio/rand.c --replace 'nspr/prinit.h' 'prinit.h'
rm -rf obj-x86_64-pc-linux-gnu
'';

Expand All @@ -166,7 +170,7 @@ stdenv.mkDerivation ({
pkgconfig
python2
python3
rust-cbindgen
rust-cbindgen_pkg
rustc
which
]
Expand Down
9 changes: 2 additions & 7 deletions pkgs/applications/networking/browsers/firefox/packages.nix
Expand Up @@ -7,19 +7,14 @@ in
rec {
firefox = common rec {
pname = "firefox";
ffversion = "76.0.1";
ffversion = "77.0.1";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
sha512 = "0gnhfcgrz6022xf3vqia3s3639xa5pjp13h343d3c09mn8r919cmm6s38vzj1v3734fm25zb68acyarsp72xqq8z1420rh02b2pv38q";
sha512 = "ngLihC0YuclLJEV3iPEX+tRzDKIdBe+CCOuFxvWNo7DnX8royOvTj2m4YyWyZoTQ5UCbPTQYmP4otgfovZSe8g==";
};

patches = [
./no-buildconfig-ffx76.patch
# Fix for NSS 3.52 (add missing CK_GCM_PARMS field)
(fetchpatch {
url = "https://hg.mozilla.org/mozilla-central/raw-rev/463069687b3d";
sha256 = "00yhz67flnkww3rbry0kqn6z6bm7vxfb2sgf7qikgbjcm3ysvpsm";
})
];

meta = {
Expand Down

0 comments on commit 03be5f3

Please sign in to comment.