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
@@ -14,7 +14,7 @@ with stdenv; mkDerivation rec {
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
configureFlags = lib.optional (!isDarwin) [ "--with-async-mode" ];
configureFlags = lib.optional (!isDarwin) "--with-async-mode";
# allow async mode. from ubuntu. see:
# https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/libftdi/trusty/view/head:/debian/patches/04_async_mode.diff