git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #148110 from trofi/sequential-dozenal

dozenal: disable parallel build

commitbc419719880d6db10321b96b9693d2eaae5df29a authorJörg Thalheim <Mic92@users.noreply.github.com> dateWed 1 Dec 2021, 09:14 (5 years ago) parent6f5aa55a1a2d0a
1 file changed+8
pkgs/applications/misc/dozenal/default.nix+8
pkgs/applications/misc/dozenal/default.nix+8
@@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
2121 patches = [ ./lua-header.patch ];
2222 preBuild = "cd dozenal";
2323 buildInputs = [ ncurses hdate lua5_2 ];
24+
25+ # Parallel builds fail due to no dependencies between subdirs.
26+ # As a result some subdirs are atempted to build twice:
27+ # ../dec/dec.c:39:10: fatal error: conv.h: No such file or directory
28+ # Let's disable parallelism until it's fixed upstream:
29+ # https://gitlab.com/dgoodmaniii/dozenal/-/issues/8
30+ enableParallelBuilding = false;
31+
2432 # I remove gdozdc, as I didn't figure all it's dependency yet.
2533 postInstall = "rm $out/bin/gdozdc";
2634