zeromq: *Flags are lists

This commit is contained in:
Robin Gloster
2019-10-26 15:35:48 +02:00
committed by Jan Tojnar
parent 74c2020e8c
commit 9da5420213

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
doCheck = false; # fails all the tests (ctest)
cmakeFlags = if enableDrafts then [ "-DENABLE_DRAFTS=ON" ] else null;
cmakeFlags = stdenv.lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
meta = with stdenv.lib; {
branch = "4";