summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-05-06 22:02:21 +0100
committerSergei Trofimovich <slyich@gmail.com>2022-05-07 07:10:05 +0100
commit42091a7b8b21f591bf7af5760b55b108348d3712 (patch)
treefdb16e8bccfdbb9f25871f0588f5c026fb03522a
parent384d446910801ac29070cac4765761caba15fcd0 (diff)
downloadnixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar.gz
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar.bz2
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar.lz
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar.xz
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.tar.zst
nixpkgs-42091a7b8b21f591bf7af5760b55b108348d3712.zip
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
-rw-r--r--pkgs/development/tools/misc/autoconf/2.13.nix3
1 files changed, 2 insertions, 1 deletions
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;