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
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

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";