summary refs log tree commit diff
path: root/pkgs/development/tools/misc/autogen
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-10-23 12:41:58 +0300
committerArtturin <Artturin@artturin.com>2021-11-05 19:57:04 +0200
commit66ee13595f76c97b27a02cead86dbcf5d8ca0094 (patch)
tree82c3cb66ff6188e20d75521588e32531398915d8 /pkgs/development/tools/misc/autogen
parentc61af8ad4444cc9991b3d1031a29eb1d06fe444b (diff)
downloadnixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar.gz
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar.bz2
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar.lz
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar.xz
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.tar.zst
nixpkgs-66ee13595f76c97b27a02cead86dbcf5d8ca0094.zip
autogen: fix build with strictDeps
Diffstat (limited to 'pkgs/development/tools/misc/autogen')
-rw-r--r--pkgs/development/tools/misc/autogen/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/autogen/default.nix b/pkgs/development/tools/misc/autogen/default.nix
index 8f2121c2599..9ce5b525e52 100644
--- a/pkgs/development/tools/misc/autogen/default.nix
+++ b/pkgs/development/tools/misc/autogen/default.nix
@@ -55,6 +55,8 @@ stdenv.mkDerivation rec {
 
   configureFlags =
     [
+      "--with-libxml2=${libxml2.dev}"
+      "--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2"
       # Make sure to use a static value for the timeout. If we do not set a value
       # here autogen will select one based on the execution time of the configure
       # phase which is not really reproducible.
@@ -64,8 +66,6 @@ stdenv.mkDerivation rec {
       "--enable-timeout=78"
     ]
     ++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
-      "--with-libxml2=${libxml2.dev}"
-      "--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2"
       # the configure check for regcomp wants to run a host program
       "libopts_cv_with_libregex=yes"
       #"MAKEINFO=${buildPackages.texinfo}/bin/makeinfo"