diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-07-18 23:09:55 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-07-24 16:12:40 -0400 |
commit | 3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a (patch) | |
tree | 43ef0729de07ad092afdb2c26cea7ea59dfe633e /pkgs/development/libraries/zeromq | |
parent | 3531a229d1d9b67305bcf9f0441365f2e89cc361 (diff) | |
download | nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar.gz nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar.bz2 nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar.lz nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar.xz nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.tar.zst nixpkgs-3b8e595810fc8faa89a81d4a4c4064bb5cf24e8a.zip |
zmq: add enableDrafts option
This is needed by emacs-zmq, and will be used by it.
Diffstat (limited to 'pkgs/development/libraries/zeromq')
-rw-r--r-- | pkgs/development/libraries/zeromq/4.x.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/zeromq/4.x.nix b/pkgs/development/libraries/zeromq/4.x.nix index 9fc0c4ac230..506db644142 100644 --- a/pkgs/development/libraries/zeromq/4.x.nix +++ b/pkgs/development/libraries/zeromq/4.x.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, asciidoc }: +{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }: stdenv.mkDerivation rec { name = "zeromq-${version}"; @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { doCheck = false; # fails all the tests (ctest) + cmakeFlags = if enableDrafts then [ "-DENABLE_DRAFTS=ON" ] else null; + meta = with stdenv.lib; { branch = "4"; homepage = http://www.zeromq.org; |