summary refs log tree commit diff
path: root/pkgs/development/libraries/xmlsec
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-11-21 10:39:52 +0200
committerDoron Behar <doron.behar@gmail.com>2020-11-21 10:39:54 +0200
commitea9cada455617c926403be72fb1d645fcd394d0b (patch)
tree06aa199fd387e7c80c991c551c29a22095c168e7 /pkgs/development/libraries/xmlsec
parent6c5c0fc1a85dfed840fff481c03452425de364be (diff)
downloadnixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar.gz
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar.bz2
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar.lz
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar.xz
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.tar.zst
nixpkgs-ea9cada455617c926403be72fb1d645fcd394d0b.zip
xmlsec: use nss_3_53
Otherwise the build fails the tests. Probably a regression since the
update of nss to 3.59.
Diffstat (limited to 'pkgs/development/libraries/xmlsec')
-rw-r--r--pkgs/development/libraries/xmlsec/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/xmlsec/default.nix b/pkgs/development/libraries/xmlsec/default.nix
index a52c85f1899..18ee99804d3 100644
--- a/pkgs/development/libraries/xmlsec/default.nix
+++ b/pkgs/development/libraries/xmlsec/default.nix
@@ -1,5 +1,7 @@
 { stdenv, fetchurl, libxml2, gnutls, libxslt, pkgconfig, libgcrypt, libtool
-, openssl, nss, lib, runCommandCC, writeText }:
+# nss_3_53 is used instead of the latest due to a number of issues:
+# https://github.com/lsh123/xmlsec/issues?q=is%3Aissue+is%3Aopen+nss
+, openssl, nss_3_53, lib, runCommandCC, writeText }:
 
 lib.fix (self:
 let
@@ -25,11 +27,11 @@ stdenv.mkDerivation {
 
   nativeBuildInputs = [ pkgconfig ];
 
-  buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ];
+  buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss_3_53 ];
 
   enableParallelBuilding = true;
   doCheck = true;
-  checkInputs = [ nss.tools ];
+  checkInputs = [ nss_3_53.tools ];
 
   # enable deprecated soap headers required by lasso
   # https://dev.entrouvert.org/issues/18771