diff options
author | Daniel Thwaites <danthwaites30@btinternet.com> | 2022-05-28 11:09:34 +0100 |
---|---|---|
committer | Daniel Thwaites <danthwaites30@btinternet.com> | 2022-05-28 11:09:34 +0100 |
commit | 5ac9f8ef59f1650d35743d16ce6b999e4ee8cabb (patch) | |
tree | ba0151140e5ba60f0251d3a1c0df85e389317ce6 /pkgs/applications/networking/ipfs | |
parent | eb41f632ff07d5f1ae0416cb768afbeca41ca54c (diff) |
ipfs: build with openssl
From the readme: Building with OpenSSL should significantly reduce the background CPU usage on nodes that frequently make or receive new connections.
Diffstat (limited to 'pkgs/applications/networking/ipfs')
-rw-r--r-- | pkgs/applications/networking/ipfs/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/ipfs/default.nix b/pkgs/applications/networking/ipfs/default.nix index e501137fa8383..f0a3aaa3ba11b 100644 --- a/pkgs/applications/networking/ipfs/default.nix +++ b/pkgs/applications/networking/ipfs/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchurl, nixosTests }: +{ lib, buildGoModule, fetchurl, nixosTests, openssl, pkg-config }: buildGoModule rec { pname = "ipfs"; @@ -25,6 +25,10 @@ buildGoModule rec { subPackages = [ "cmd/ipfs" ]; + buildInputs = [ openssl ]; + nativeBuildInputs = [ pkg-config ]; + tags = [ "openssl" ]; + passthru.tests.ipfs = nixosTests.ipfs; vendorSha256 = null; |