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:
parent
eb41f632ff
commit
5ac9f8ef59
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user