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-19 00:11:08 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-08-19 01:34:37 +0200
commit7f01443ef1cf09be0dd772af0a58409a4a02ccb1 (patch)
tree1c285776a49a9729fb4941f544e5536bba2a4e62 /pkgs/development/libraries/nss
parent5efa0529286c94347ce9f977e780016b4b21fa9e (diff)
downloadnixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar.gz
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar.bz2
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar.lz
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar.xz
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.tar.zst
nixpkgs-7f01443ef1cf09be0dd772af0a58409a4a02ccb1.zip
nss: Drop nss-pem patchset
The patch url went 404 and other distrosĀ¹ have discarded it as well in
favor of packaging nss-pemĀ²

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-libs/nss?id=5eca3e02c87163b3c541cdee893830d201abfb86
[2] https://github.com/kdudka/nss-pem
Diffstat (limited to 'pkgs/development/libraries/nss')
-rw-r--r--pkgs/development/libraries/nss/generic.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/development/libraries/nss/generic.nix b/pkgs/development/libraries/nss/generic.nix
index febc2423388..c0d07cd382c 100644
--- a/pkgs/development/libraries/nss/generic.nix
+++ b/pkgs/development/libraries/nss/generic.nix
@@ -19,11 +19,6 @@
 }:
 
 let
-  nssPEM = fetchurl {
-    url = "http://dev.gentoo.org/~polynomial-c/mozilla/nss-3.15.4-pem-support-20140109.patch.xz";
-    sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw";
-  };
-
   underscoreVersion = lib.replaceStrings [ "." ] [ "_" ] version;
 in
 stdenv.mkDerivation rec {
@@ -45,13 +40,6 @@ stdenv.mkDerivation rec {
   propagatedBuildInputs = [ nspr ];
 
   prePatch = ''
-    # strip the trailing whitespace from the patch line and the renamed CKO_NETSCAPE_ enum to CKO_NSS_
-    xz -d < ${nssPEM} | sed \
-       -e 's/-DIRS = builtins $/-DIRS = . builtins/g' \
-       -e 's/CKO_NETSCAPE_/CKO_NSS_/g' \
-       -e 's/CKT_NETSCAPE_/CKT_NSS_/g' \
-       | patch -p1
-
     patchShebangs nss
 
     for f in nss/coreconf/config.gypi nss/build.sh nss/coreconf/config.gypi; do