From 32d45883a8c34cf9d4e98c14ac601a2c4ecf8313 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 29 Jan 2022 12:35:39 +0000 Subject: [PATCH] libf2c: explicitly disable parallel builds Attempt to enable build parallelism exposes missing dependency: libf2c> main.c:4:10: fatal error: signal1.h: No such file or directory libf2c> 4 | #include "signal1.h" libf2c> | ^~~~~~~~~~~ --- pkgs/development/libraries/libf2c/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libf2c/default.nix b/pkgs/development/libraries/libf2c/default.nix index 5a5d8b93057a..a2cb4d2bd246 100644 --- a/pkgs/development/libraries/libf2c/default.nix +++ b/pkgs/development/libraries/libf2c/default.nix @@ -27,6 +27,10 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; + # Makefile is missing depepdencies on generated headers: + # main.c:4:10: fatal error: signal1.h: No such file or directory + enableParallelBuilding = false; + meta = { description = "F2c converts Fortran 77 source code to C"; homepage = "http://www.netlib.org/f2c/";