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 /pkgs/applications/networking/p2p | |
parent | 6d5589346b4d21c068d9309fde31cb80880330b9 (diff) | |
download | nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar.gz nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar.bz2 nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar.lz nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar.xz nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.tar.zst nixpkgs-73ff43b391531565a8542acbdee03693a51d1cc3.zip |
jesec-rtorrent: clean up formatting
Diffstat (limited to 'pkgs/applications/networking/p2p')
-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 0df07cd5510..a760a0f96c3 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 fb7515e8671..a08eb8f1293 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 ]; |