diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-05-19 14:45:52 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-05-19 14:45:52 +0200 |
commit | 347cd8add792c0e7dde1a64ae2dd6ac265b94259 (patch) | |
tree | bde4b283d5c3945b854d0bced422278afb12f972 /pkgs | |
parent | 96a604320a044a49c8f74114cbf3f66b86399529 (diff) | |
download | nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar.gz nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar.bz2 nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar.lz nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar.xz nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.tar.zst nixpkgs-347cd8add792c0e7dde1a64ae2dd6ac265b94259.zip |
gnutls: fix tests after 79bd4ad57 (PR #61179)
It's one of the places that would reach out to /etc/ otherwise, so I expect we have to pay this price to get the effect. Hopefully there won't be too many places to patch.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/gnutls/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix index 8a92390ca30..381ac2b59ad 100644 --- a/pkgs/development/libraries/gnutls/default.nix +++ b/pkgs/development/libraries/gnutls/default.nix @@ -1,6 +1,6 @@ { config, lib, stdenv, fetchurl, zlib, lzo, libtasn1, nettle, pkgconfig, lzip , perl, gmp, autoconf, autogen, automake, libidn, p11-kit, libiconv -, unbound, dns-root-data, gettext +, unbound, dns-root-data, gettext, cacert , guileBindings ? config.gnutls.guile or false, guile , tpmSupport ? false, trousers, which, nettools, libunistring , withSecurity ? false, Security # darwin Security.framework @@ -72,6 +72,9 @@ stdenv.mkDerivation { propagatedBuildInputs = [ nettle ]; inherit doCheck; + # stdenv's `NIX_SSL_CERT_FILE=/no-cert-file.crt` broke tests with: + # Error setting the x509 trust file: Error while reading file. + checkInputs = [ cacert ]; # Fixup broken libtool and pkgconfig files preFixup = lib.optionalString (!isDarwin) '' |