summary refs log tree commit diff
path: root/pkgs/development/libraries/nss
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-08-06 00:46:37 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-08-06 11:36:36 +0200
commit24ae5203be1ad3d6664f54c28a8fc1c8035858c3 (patch)
tree1a745c9d408ca83c3716c86b15d779fc473d9e66 /pkgs/development/libraries/nss
parent5b9af79df3aad3bc842fab971b0f4c788207a3c8 (diff)
downloadnixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar.gz
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar.bz2
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar.lz
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar.xz
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.tar.zst
nixpkgs-24ae5203be1ad3d6664f54c28a8fc1c8035858c3.zip
nss: test individual firefox versions in passthru
Diffstat (limited to 'pkgs/development/libraries/nss')
-rw-r--r--pkgs/development/libraries/nss/generic.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/nss/generic.nix b/pkgs/development/libraries/nss/generic.nix
index 9a3d7bdfe27..febc2423388 100644
--- a/pkgs/development/libraries/nss/generic.nix
+++ b/pkgs/development/libraries/nss/generic.nix
@@ -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";