diff options
author | Robin Gloster <mail@glob.in> | 2019-10-26 15:35:48 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-30 11:13:38 +0100 |
commit | 9da5420213841bc6ed052a4568061e83b0377335 (patch) | |
tree | 1cabd5365cb09d4728c0e04cc42afc92fb515b46 /pkgs/development | |
parent | 74c2020e8c4f9e8ccfd1138ccbcb041ef52cfd6c (diff) |
zeromq: *Flags are lists
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/zeromq/4.x.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |