diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-07-03 02:42:16 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-07-04 16:07:26 +0200 |
commit | cb3762857d1aa0951b3bd4b427994eab9002e517 (patch) | |
tree | 5d22e85fac38c9ce7f7029ad69d5650b2f478b36 /pkgs/development/libraries/nss | |
parent | 1635aae3cd72cb83cfdc782e5966089ebb248b3e (diff) |
nss: update passthru tests for firefox-esr-115
Ties the logic to the version of the nss_latest attribute, so we get a stable relationship.
Diffstat (limited to 'pkgs/development/libraries/nss')
-rw-r--r-- | pkgs/development/libraries/nss/generic.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/libraries/nss/generic.nix b/pkgs/development/libraries/nss/generic.nix index e1710813db80f..338efc3da9681 100644 --- a/pkgs/development/libraries/nss/generic.nix +++ b/pkgs/development/libraries/nss/generic.nix @@ -16,6 +16,7 @@ # https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Tech_Notes/nss_tech_note6 enableFIPS ? false , nixosTests +, nss_latest }: let @@ -189,10 +190,10 @@ 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; + passthru.tests = lib.optionalAttrs (lib.versionOlder version nss_latest.version) { + inherit (nixosTests) firefox-esr-102; + } // lib.optionalAttrs (lib.versionAtLeast version nss_latest.version) { + inherit (nixosTests) firefox firefox-esr-115; }; meta = with lib; { |