dozenal: disable parallel build

Parallel build fails for missing dependencies in subdirectories:

    ../doz/doz.c:39:10: fatal error: conv.h: No such file or directory
       39 | #include "conv.h"
          |          ^~~~~~~~

Let's explicitly disable parallelism until upstream fixes it.
This commit is contained in:
Sergei Trofimovich 2021-12-01 07:52:43 +00:00
parent ab5a3f8226
commit a1a2d0a4fc

View file

@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
patches = [ ./lua-header.patch ];
preBuild = "cd dozenal";
buildInputs = [ ncurses hdate lua5_2 ];
# Parallel builds fail due to no dependencies between subdirs.
# As a result some subdirs are atempted to build twice:
# ../dec/dec.c:39:10: fatal error: conv.h: No such file or directory
# Let's disable parallelism until it's fixed upstream:
# https://gitlab.com/dgoodmaniii/dozenal/-/issues/8
enableParallelBuilding = false;
# I remove gdozdc, as I didn't figure all it's dependency yet.
postInstall = "rm $out/bin/gdozdc";