treewide: Make configureFlags lists

This commit is contained in:
John Ericson
2018-08-03 17:06:03 -04:00
parent 85a9913edd
commit db965063b3
164 changed files with 380 additions and 263 deletions
+5 -5
View File
@@ -41,11 +41,11 @@ stdenv.mkDerivation rec {
preConfigure = "./bootstrap.sh";
configureFlags = ""
+ stdenv.lib.optionalString withCrypto "--with-crypto "
+ stdenv.lib.optionalString enableMagic "--enable-magic "
+ stdenv.lib.optionalString enableCuckoo "--enable-cuckoo "
;
configureFlags = [
(stdenv.lib.withFeature withCrypto "crypto")
(stdenv.lib.enableFeature enableMagic "magic")
(stdenv.lib.enableFeature enableCuckoo "cuckoo")
];
meta = with stdenv.lib; {
description = "The pattern matching swiss knife for malware researchers";