From 9d3d02f9c1272f1845bcd3295a22f4a3acb6326a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 30 Nov 2021 09:04:12 +0000 Subject: [PATCH] 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. --- pkgs/tools/misc/screen/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/misc/screen/default.nix b/pkgs/tools/misc/screen/default.nix index d1e02e8b9a36..dd61b82d4080 100644 --- a/pkgs/tools/misc/screen/default.nix +++ b/pkgs/tools/misc/screen/default.nix @@ -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; {