screen: disable parallel build (#147990)

Parallel build fails for missing generated header dependencies:

    screen.h:48:10: fatal error: comm.h: No such file or directory
        48 | #include "comm.h"
           |          ^~~~~~~~

Upstream fixes are intermingled with added features and are not
straightforward to backport. Let's disable parallelism until next
release.
This commit is contained in:
Sergei Trofimovich 2021-11-30 09:04:12 +00:00 committed by GitHub
parent 73bd63bf75
commit 9d3d02f9c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,12 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ] ++ lib.optional stdenv.isLinux pam
++ lib.optional stdenv.isDarwin utmp;
# Build fails due to missing dependencies on autogenerated header:
# screen.h:48:10: fatal error: comm.h: No such file or directory
# It will be fixed in next screen-4.9.0 release. The patches are
# invasive. Disabling parallelism for 4.8.0.
enableParallelBuilding = false;
doCheck = true;
meta = with lib; {