treewide: configureFlags is a flat list

This commit is contained in:
Robin Gloster
2019-12-31 01:37:49 +01:00
committed by Jan Tojnar
parent e9c27ed5f9
commit 6ca6ac796b
18 changed files with 39 additions and 50 deletions
+3 -3
View File
@@ -47,9 +47,9 @@ stdenv.mkDerivation rec {
"--pid=/run/unit/unit.pid"
"--user=unit"
"--group=unit"
] ++ optional withSSL [ "--openssl" ]
++ optional (!withIPv6) [ "--no-ipv6" ]
++ optional withDebug [ "--debug" ];
] ++ optional withSSL "--openssl"
++ optional (!withIPv6) "--no-ipv6"
++ optional withDebug "--debug";
postConfigure = ''
${optionalString withPython2 "./configure python --module=python2 --config=${python2}/bin/python2-config --lib-path=${python2}/lib"}