From 024cb9eecd1f25dad64622ce1e59299059d5019c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 20 Jul 2016 11:54:34 +0200 Subject: [PATCH] gnutls: Disable parallel building This can fail randomly with CC systemkey.o In file included from systemkey.c:47:0: systemkey-args.h:1:1: error: unterminated comment /* -*- buffer-read-only: t -*- vi: set ro: which is presumably caused by a race with the generation step above: autogen systemkey-args.def http://hydra.nixos.org/build/37878764#tabs-buildsteps --- pkgs/development/libraries/gnutls/generic.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gnutls/generic.nix b/pkgs/development/libraries/gnutls/generic.nix index 9866dd9fd3a..10047888423 100644 --- a/pkgs/development/libraries/gnutls/generic.nix +++ b/pkgs/development/libraries/gnutls/generic.nix @@ -36,8 +36,9 @@ stdenv.mkDerivation { # Build of the Guile bindings is not parallel-safe. See # - # for the actual fix. - enableParallelBuilding = !guileBindings; + # for the actual fix. Also an apparent race in the generation of + # systemkey-args.h. + enableParallelBuilding = false; buildInputs = [ lzo lzip nettle libtasn1 libidn p11_kit zlib gmp autogen ] ++ lib.optional doCheck nettools