summary refs log tree commit diff
path: root/pkgs/development/tools/misc/autogen
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-04 23:11:06 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-11-05 21:07:40 +0100
commit5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f (patch)
treede28bafd8db8077822d38bfe2201270713066341 /pkgs/development/tools/misc/autogen
parentbf26d7049d6ba61a587b82b06a013d34b5f170b1 (diff)
downloadnixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar.gz
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar.bz2
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar.lz
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar.xz
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.tar.zst
nixpkgs-5cd64d018d7fbb3f2f63eb1c97182eda6562fc5f.zip
autogen: format
Diffstat (limited to 'pkgs/development/tools/misc/autogen')
-rw-r--r--pkgs/development/tools/misc/autogen/default.nix36
1 files changed, 17 insertions, 19 deletions
diff --git a/pkgs/development/tools/misc/autogen/default.nix b/pkgs/development/tools/misc/autogen/default.nix
index 9ce5b525e52..61df38f68ce 100644
--- a/pkgs/development/tools/misc/autogen/default.nix
+++ b/pkgs/development/tools/misc/autogen/default.nix
@@ -53,25 +53,23 @@ stdenv.mkDerivation rec {
     export MAN_PAGE_DATE=$(date '+%Y-%m-%d' -d "@$SOURCE_DATE_EPOCH")
   '';
 
-  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.
-      #
-      # If you are curious about the number 78, it has been cargo-culted from
-      # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
-      "--enable-timeout=78"
-    ]
-    ++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
-      # the configure check for regcomp wants to run a host program
-      "libopts_cv_with_libregex=yes"
-      #"MAKEINFO=${buildPackages.texinfo}/bin/makeinfo"
-    ])
-    # See: https://sourceforge.net/p/autogen/bugs/187/
-    ++ lib.optionals stdenv.isDarwin [ "ac_cv_func_utimensat=no" ];
+  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.
+    #
+    # If you are curious about the number 78, it has been cargo-culted from
+    # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
+    "--enable-timeout=78"
+  ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
+    # the configure check for regcomp wants to run a host program
+    "libopts_cv_with_libregex=yes"
+    #"MAKEINFO=${buildPackages.texinfo}/bin/makeinfo"
+  ]
+  # See: https://sourceforge.net/p/autogen/bugs/187/
+  ++ lib.optionals stdenv.isDarwin [ "ac_cv_func_utimensat=no" ];
 
   #doCheck = true; # not reliable