firefox: fallback to nss_3_53 when version is below 83

(cherry picked from commit c1cfe8b84e)
This commit is contained in:
Andreas Rammhold
2020-11-18 15:15:01 +01:00
parent a59b421489
commit 1de8035280

View File

@@ -4,7 +4,7 @@
{ lib, stdenv, pkgconfig, pango, perl, python2, python3, zip
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
, freetype, fontconfig, file, nspr, nss, libnotify
, freetype, fontconfig, file, nspr, nss_3_53, libnotify
, yasm, libGLU, libGL, sqlite, unzip, makeWrapper
, hunspell, libXdamage, libevent, libstartup_notification
, libvpx_1_8
@@ -93,7 +93,7 @@ let
then "/Applications/${binaryNameCapitalized}.app/Contents/MacOS"
else "/bin";
nss_pkg = if lib.versionAtLeast ffversion "82" then nss_latest else nss;
nss_pkg = if lib.versionAtLeast ffversion "82" then nss_latest else nss_3_53;
in
stdenv.mkDerivation ({