nss: 3.128 -> 3.129

https://github.com/mozilla/nss/blob/master/doc/src/releases/nss_3_129.md
(cherry picked from commit 2ad7222239)
This commit is contained in:
ajs124
2026-09-15 08:17:13 +02:00
committed by Martin Weinelt
parent 399a3f30cd
commit 83ef9597fa
2 changed files with 5 additions and 2 deletions

View File

@@ -76,6 +76,9 @@ stdenv.mkDerivation rec {
substituteInPlace coreconf/config.gypi --replace "/usr/bin/grep" "${buildPackages.coreutils}/bin/env grep"
''
+ lib.optionalString (lib.versionAtLeast version "3.129") ''
substituteInPlace build.sh --replace "\$obj_dir/lib/pkgconfig/nspr.pc" "${nspr.dev}/lib/pkgconfig/nspr.pc"
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace coreconf/Darwin.mk --replace '@executable_path/$(notdir $@)' "$out/lib/\$(notdir \$@)"
substituteInPlace coreconf/config.gypi --replace "'DYLIB_INSTALL_NAME_BASE': '@executable_path'" "'DYLIB_INSTALL_NAME_BASE': '$out/lib'"

View File

@@ -5,8 +5,8 @@
# Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert
import ./generic.nix {
version = "3.128";
hash = "sha256-C9SGEyoxR16F6j7zOUsudS0aH/qIHc7DgV5FbBbz90Q=";
version = "3.129";
hash = "sha256-cy7+nCVtogr1onk8/8OQcQZUm2AH2azNsUmVFg4ym7k=";
filename = "latest.nix";
versionRegex = "NSS_(\\d+)_(\\d+)(?:_(\\d+))?_RTM";
}