From 9b42f641b861f32b2947af415ac70918a8bb0dcc Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 21 Jun 2022 21:30:26 +0100 Subject: [PATCH] autoconf264: fix depends for strictDeps = true Without the change `config.strictDepsByDefault = true` fails build as: checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH. --- pkgs/development/tools/misc/autoconf/2.64.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/autoconf/2.64.nix b/pkgs/development/tools/misc/autoconf/2.64.nix index 8c6e104e11b8..daf026dc3a5b 100644 --- a/pkgs/development/tools/misc/autoconf/2.64.nix +++ b/pkgs/development/tools/misc/autoconf/2.64.nix @@ -9,7 +9,9 @@ stdenv.mkDerivation rec { sha256 = "0j3jdjpf5ly39dlp0bg70h72nzqr059k0x8iqxvaxf106chpgn9j"; }; - buildInputs = [ m4 perl ]; + strictDeps = true; + nativeBuildInputs = [ m4 perl ]; + buildInputs = [ m4 ]; # Work around a known issue in Cygwin. See # http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for