summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-20 11:54:34 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-20 11:55:46 +0200
commit024cb9eecd1f25dad64622ce1e59299059d5019c (patch)
treed524f011b9a7c9a1e89b7485950006f3d0ffb046 /pkgs
parent1681718e2fd81c2613604df0a3fbb259bf213ceb (diff)
downloadnixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar.gz
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar.bz2
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar.lz
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar.xz
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.tar.zst
nixpkgs-024cb9eecd1f25dad64622ce1e59299059d5019c.zip
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
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/gnutls/generic.nix5
1 files 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
   # <http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=330995a920037b6030ec0282b51dde3f8b493cad>
-  # 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