From 9da5420213841bc6ed052a4568061e83b0377335 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sat, 26 Oct 2019 15:35:48 +0200 Subject: [PATCH] zeromq: *Flags are lists --- pkgs/development/libraries/zeromq/4.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/zeromq/4.x.nix b/pkgs/development/libraries/zeromq/4.x.nix index db5d90e2f021..1a8f07a3ae0e 100644 --- a/pkgs/development/libraries/zeromq/4.x.nix +++ b/pkgs/development/libraries/zeromq/4.x.nix @@ -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";