treewide: Make all the rest of configureFlags

This commit is contained in:
John Ericson
2018-08-03 12:52:40 -04:00
parent f92ed87372
commit f0d6b385d1
19 changed files with 49 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "15m1w1qad3dj7r8n5ng1qqcaiyx1gyd6hnc3p2apgjllccdp77qg";
};
configureFlags = stdenv.lib.optionalString docSupport "--enable-doc";
configureFlags = stdenv.lib.optionals docSupport "--enable-doc";
buildInputs = [ yacc flex libusb libelf libftdi1 readline ]
++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ];

View File

@@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
buildInputs = [ boost libtool groff ghostscript libgcrypt ];
configureFlags = stdenv.lib.optionalString
(libgcrypt == null) "--without-gcrypt";
configureFlags = [
(stdenv.lib.optional (libgcrypt == null) "--without-gcrypt")
];
meta = with stdenv.lib; {
description = "Collection of powerful tools for manipulating EPROM load files";