From 42091a7b8b21f591bf7af5760b55b108348d3712 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 6 May 2022 22:02:21 +0100 Subject: [PATCH] autoconf213: move 'm4' and 'perl' to nativeBuildInputs (strictDeps = true) Without the change `strictDeps = true` build fails as: $ nix build --impure --expr 'with import ./. {}; autoconf213.overrideAttrs (oa: { strictDeps = true;})' Error: Autoconf requires GNU m4 1.1 or later --- pkgs/development/tools/misc/autoconf/2.13.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/autoconf/2.13.nix b/pkgs/development/tools/misc/autoconf/2.13.nix index 4ff990ca0ed..8fba52aa1fd 100644 --- a/pkgs/development/tools/misc/autoconf/2.13.nix +++ b/pkgs/development/tools/misc/autoconf/2.13.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh"; }; - buildInputs = [ m4 perl ]; + nativeBuildInputs = [ m4 perl ]; + strictDeps = true; doCheck = true;