firefoxPackages: support building with firefox 65
Firefox >=65 will depend on icu >=63. All the older firefox versions
(and derived packages) seem to work fine with this change.
Also the system path environment patch will fail to apply since there
was a trivial whitespace change in the source file. By adding `-l` to
patch we can avoid having to track two patches that do basically the
same. Having patchFlags per file without resorting to pre-/postPatch
would be nicer but there doesn't seem to be a facility for that right
now.
commit08ba4f13c97b41079fac5440f059e09ff56e23ca
authorAndreas Rammhold <andreas@rammhold.de>
dateWed 23 Jan 2019, 01:04 (8 years ago)
parent3b1158c
pkgs/applications/networking/browsers/firefox/common.nix+5
@@ -87,6 +87,11 @@ stdenv.mkDerivation rec {
8787
8888 inherit src unpackPhase patches meta;
8989
90+ # Ignore trivial whitespace changes in patches, this fixes compatibility of
91+ # ./env_var_for_system_dir.patch with Firefox >=65 without having to track
92+ # two patches.
93+ patchFlags = [ "-p1" "-l" ];
94+
9095 buildInputs = [
9196 gtk2 perl zip libIDL libjpeg zlib bzip2
9297 dbus dbus-glib pango freetype fontconfig xorg.libXi xorg.libXcursor
pkgs/top-level/all-packages.nix+1−1
@@ -17130,7 +17130,7 @@ in
1713017130 libpng = libpng_apng;
1713117131 python = python2;
1713217132 gnused = gnused_422;
17133− icu = icu59;
17133+ icu = icu63;
1713417134 inherit (darwin.apple_sdk.frameworks) CoreMedia ExceptionHandling
1713517135 Kerberos AVFoundation MediaToolbox
1713617136 CoreLocation Foundation AddressBook;