Skip to content

Commit 676b2ef

Browse files
committedNov 27, 2017
dict: disable parallel building
1 parent ba3a792 commit 676b2ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎pkgs/servers/dict/default.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
1313

1414
nativeBuildInputs = [ bison flex libtool which ];
1515

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.