gnutls: fix up yet again
Noticed on: https://github.com/NixOS/nixpkgs/commit/7d94f57309a4#commitcomment-18221038
Hopefully OK finally, evaluation tested on x86_64-{linux,darwin}.
Apparently I'm trying to contribute in situations I'd better be relaxing
already.
commit19a4935c5513575b8f1368f897f8721cbf2ddb4f
authorVladimír Čunát <vcunat@gmail.com>
dateWed 13 Jul 2016, 22:36 (10 years ago)
parentc6f99a3
pkgs/development/libraries/gnutls/generic.nix+2−1
@@ -39,7 +39,8 @@ stdenv.mkDerivation {
3939 # for the actual fix.
4040 enableParallelBuilding = !guileBindings;
4141
42− buildInputs = [ lzo lzip nettle libtasn1 libidn p11_kit zlib gmp autogen nettools ]
42+ buildInputs = [ lzo lzip nettle libtasn1 libidn p11_kit zlib gmp autogen ]
43+ ++ lib.optional doCheck nettools
4344 ++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
4445 ++ lib.optional (tpmSupport && stdenv.isLinux) trousers
4546 ++ [ unbound ]