Skip to content

Commit

Permalink
Merge pull request #239358 from helsinki-systems/nss_esr_latest
Browse files Browse the repository at this point in the history
nss_esr: 3.79.4 -> 3.90
  • Loading branch information
mweinelt authored Jun 23, 2023
2 parents 866fcac + bb53634 commit 041400a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 136 deletions.
76 changes: 0 additions & 76 deletions pkgs/development/libraries/nss/85_security_load_3.77+.patch

This file was deleted.

4 changes: 2 additions & 2 deletions pkgs/development/libraries/nss/esr.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./generic.nix {
version = "3.79.4";
hash = "sha256-Skcdv6Wzo7fsB4U8b8CijNBmn2mEEp4k9VQeLOFdcdU=";
version = "3.90";
hash = "sha256-ms1lNMQdjq0Z/Kb8s//+0vnwnEN8PXn+5qTuZoqqk7Y=";
}
44 changes: 0 additions & 44 deletions pkgs/development/libraries/nss/gcc-13-esr.patch

This file was deleted.

16 changes: 2 additions & 14 deletions pkgs/development/libraries/nss/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,8 @@ stdenv.mkDerivation rec {

patches = [
# Based on http://patch-tracker.debian.org/patch/series/dl/nss/2:3.15.4-1/85_security_load.patch
(if (lib.versionOlder version "3.84") then
./85_security_load_3.77+.patch
else
./85_security_load_3.85+.patch
)
./85_security_load_3.85+.patch
./fix-cross-compilation.patch
] ++ lib.optionals (lib.versionOlder version "3.89") [
# Backport gcc-13 build fix:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1771273
# https://hg.mozilla.org/projects/nss/raw-rev/21e7aaa1f7d94bca15d997e5b4c2329b32fad21a
./gcc-13-esr.patch
] ++ lib.optionals (lib.versionAtLeast version "3.90") [
# https://bugzilla.mozilla.org/show_bug.cgi?id=1836925
# https://phabricator.services.mozilla.com/D180068
./remove-c25519-support.patch
Expand Down Expand Up @@ -189,9 +179,7 @@ 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") {
passthru.tests = {
inherit (nixosTests) firefox firefox-esr-102;
};

Expand Down

0 comments on commit 041400a

Please sign in to comment.