diff options
author | Winter <winter@winter.cafe> | 2022-04-21 19:49:32 -0400 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-04-21 19:53:39 -0400 |
commit | 73ff43b391531565a8542acbdee03693a51d1cc3 (patch) | |
tree | bb81b0407df00c4f73347266262f6692b6051ee3 | |
parent | 6d5589346b4d21c068d9309fde31cb80880330b9 (diff) |
jesec-rtorrent: clean up formatting
-rw-r--r-- | pkgs/applications/networking/p2p/jesec-rtorrent/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix index 0df07cd5510a3..a760a0f96c35c 100644 --- a/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/default.nix @@ -39,8 +39,8 @@ stdenv.mkDerivation rec { ++ lib.optional (!jsonRpcSupport) "-DUSE_JSONRPC=NO" ++ lib.optional (!xmlRpcSupport) "-DUSE_XMLRPC=NO"; - doCheck = true; + checkInputs = [ gtest ]; diff --git a/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix index fb7515e8671fe..a08eb8f1293cb 100644 --- a/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix +++ b/pkgs/applications/networking/p2p/jesec-rtorrent/libtorrent.nix @@ -21,15 +21,18 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + buildInputs = [ openssl zlib ]; doCheck = true; + preCheck = '' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD ''; + checkInputs = [ gtest ]; |