@@ -1,5 +1,7 @@
11{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkgconfig, libgcrypt, libtool
2−, openssl, nss, lib, runCommandCC, writeText }:
2+# nss_3_53 is used instead of the latest due to a number of issues:
3+# https://github.com/lsh123/xmlsec/issues?q=is%3Aissue+is%3Aopen+nss
4+, openssl, nss_3_53, lib, runCommandCC, writeText }:
35
46lib.fix (self:
57let
@@ -25,11 +27,11 @@ stdenv.mkDerivation {
2527
2628 nativeBuildInputs = [ pkgconfig ];
2729
28− buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ];
30+ buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss_3_53 ];
2931
3032 enableParallelBuilding = true;
3133 doCheck = true;
32− checkInputs = [ nss.tools ];
34+ checkInputs = [ nss_3_53.tools ];
3335
3436 # enable deprecated soap headers required by lasso
3537 # https://dev.entrouvert.org/issues/18771