buildMozillaMach: use nss_3_114 as needed

As reported in https://github.com/NixOS/nixpkgs/pull/435118, Firefox
versions prior to 143 crash when used with nss 3.115.
This commit is contained in:
Ryan Hendrickson
2025-08-25 16:52:33 -04:00
parent 2050ae84b5
commit d3140d8596
@@ -89,6 +89,7 @@ in
nasm,
nspr,
nss_esr,
nss_3_114,
nss_latest,
onnxruntime,
pango,
@@ -555,7 +556,12 @@ buildStdenv.mkDerivation {
xorg.xorgproto
zlib
(
if (lib.versionAtLeast version "129") then nss_latest else nss_esr # 3.90
if (lib.versionAtLeast version "143") then
nss_latest
else if (lib.versionAtLeast version "129") then
nss_3_114
else
nss_esr # 3.90
)
]
++ lib.optional alsaSupport alsa-lib