From 72ed8688039995f0b2cdd01c962de9ded6466d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 22 Apr 2012 10:44:53 +0000 Subject: [PATCH] GnuTLS: Allow builds on non-Linux-based OSes. svn path=/nixpkgs/trunk/; revision=33876 --- pkgs/development/libraries/gnutls/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix index 26555b9c3c7..4bd0dfdc529 100644 --- a/pkgs/development/libraries/gnutls/default.nix +++ b/pkgs/development/libraries/gnutls/default.nix @@ -29,7 +29,9 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ nettle libtasn1 ]; - doCheck = true; + # XXX: Disable tests on non-Linux because of the `mini-loss-time' hack + # below, which is Linux-specific. + doCheck = stdenv.isLinux; postCheck = # Kill a process that's left behind.