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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user