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.
This commit is contained in:
Daniel Thwaites 2022-05-28 11:09:34 +01:00
parent eb41f632ff
commit 5ac9f8ef59
No known key found for this signature in database
GPG Key ID: D8AFC4BF05670F9D

View File

@ -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;