nss: test individual firefox versions in passthru

This commit is contained in:
Martin Weinelt 2022-08-06 00:46:37 +02:00
parent 5b9af79df3
commit 24ae5203be
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -15,6 +15,7 @@
, # allow FIPS mode. Note that this makes the output non-reproducible.
# https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Tech_Notes/nss_tech_note6
enableFIPS ? false
, nixosTests
}:
let
@ -186,6 +187,12 @@ stdenv.mkDerivation rec {
passthru.updateScript = ./update.sh;
passthru.tests = lib.optionalAttrs (lib.versionOlder version "3.69") {
inherit (nixosTests) firefox-esr-91;
} // lib.optionalAttrs (lib.versionAtLeast version "3.69") {
inherit (nixosTests) firefox firefox-esr-102;
};
meta = with lib; {
homepage = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS";
description = "A set of libraries for development of security-enabled client and server applications";