firefox-esr: use nss_esr as intended

Firefox 115 is meant against nss 3.90, as you can see e.g. in
https://hg.mozilla.org/releases/mozilla-release/file/FIREFOX_115_0_3_RELEASE/security/nss/TAG-INFO
This commit is contained in:
Vladimír Čunát
2023-09-06 15:51:59 +02:00
committed by ajs124
parent b167e0cb88
commit 82527892e4

View File

@@ -469,7 +469,7 @@ buildStdenv.mkDerivation {
# icu73 changed how it follows symlinks which breaks in the firefox sandbox
# https://bugzilla.mozilla.org/show_bug.cgi?id=1839287
++ [ (if (lib.versionAtLeast version "115") then icu else icu72) ]
++ [ (if (lib.versionAtLeast version "103") then nss_latest else nss_esr) ]
++ [ (if (lib.versionAtLeast version "116") then nss_latest else nss_esr/*3.90*/) ]
++ lib.optional alsaSupport alsa-lib
++ lib.optional jackSupport libjack2
++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed