diff options
author | Michal Sojka <michal.sojka@cvut.cz> | 2023-03-31 18:14:09 +0200 |
---|---|---|
committer | Michal Sojka <michal.sojka@cvut.cz> | 2023-03-31 18:58:56 +0200 |
commit | b1cb42d3b72a6f83e21727665d2a5eea1b0f2f80 (patch) | |
tree | 9ce41712f566d80890fcd0faa93f5e72de038d12 /pkgs/applications/blockchains | |
parent | 9a6aabc4740790ef3bbb246b86d029ccf6759658 (diff) |
cppzmq: make zeromq propagatedBuildInput
cppzmq is a header-only library. As such, it is not much useful without zeromq, whose headers it includes. By having zeromq in propagatedBuildInputs, we can simplify dependent expressions. This change is motivated by https://github.com/lopsided98/nix-ros-overlay/issues/255#issuecomment-1487590226. The expressions in nix-ros-overlay are automatically generated and since packages in other distributions where ROS runs need not to explicitly depend on zeromq, the Nix expression should behave the same. This way, nix-ros-overlay will not to have manually patch/overlay the automatically generated expressions.
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/aeon/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/blockchains/masari/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/blockchains/aeon/default.nix b/pkgs/applications/blockchains/aeon/default.nix index 95dbd68a97cb9..13928c856b99c 100644 --- a/pkgs/applications/blockchains/aeon/default.nix +++ b/pkgs/applications/blockchains/aeon/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, cmake, pkg-config, git, doxygen, graphviz , boost, miniupnpc, openssl, unbound, cppzmq -, zeromq, pcsclite, readline, libsodium +, pcsclite, readline, libsodium }: let @@ -22,7 +22,7 @@ stdenv.mkDerivation { buildInputs = [ boost miniupnpc openssl unbound - cppzmq zeromq pcsclite readline libsodium + cppzmq pcsclite readline libsodium ]; cmakeFlags = [ diff --git a/pkgs/applications/blockchains/masari/default.nix b/pkgs/applications/blockchains/masari/default.nix index 7cc0b2a593ea1..39735e6ddf071 100644 --- a/pkgs/applications/blockchains/masari/default.nix +++ b/pkgs/applications/blockchains/masari/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchFromGitHub, cmake, pkg-config, unbound, openssl, boost -, lmdb, miniupnpc, readline, git, zeromq, libsodium, rapidjson, cppzmq }: +, lmdb, miniupnpc, readline, git, libsodium, rapidjson, cppzmq }: stdenv.mkDerivation rec { pname = "masari"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { buildInputs = [ boost miniupnpc openssl unbound - zeromq readline libsodium + readline libsodium rapidjson cppzmq ]; |