Skip to content

Commit

Permalink
dict: disable parallel building
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Nov 27, 2017
1 parent ba3a792 commit 676b2ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/servers/dict/default.nix
Expand Up @@ -13,7 +13,11 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ bison flex libtool which ];

enableParallelBuilding = true;
# Makefile(.in) contains "clientparse.c clientparse.h: clientparse.y" which
# causes bison to run twice, and break the build when this happens in
# parallel. Test with "make -j clientparse.c clientparse.h". The error
# message may be "mv: cannot move 'y.tab.c' to 'clientparse.c'".
enableParallelBuilding = false;

patchPhase = "patch -p0 < ${./buildfix.diff}";
configureFlags = [
Expand Down

0 comments on commit 676b2ef

Please sign in to comment.