ipfs-cluster: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:27:00 -05:00
parent ed310da737
commit 6852ecdcf5
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, fetchgx, gx-go }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "ipfs-cluster";
@ -14,6 +14,8 @@ buildGoModule rec {
sha256 = "1jh6ynj50jd4w79widaqrgm3h3yz5h03vq0lbsx717a8d9073blh";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Allocate, replicate, and track Pins across a cluster of IPFS daemons";
homepage = https://cluster.ipfs.io/;
@ -22,4 +24,3 @@ buildGoModule rec {
maintainers = with maintainers; [ jglukasik ];
};
}

View file

@ -4351,7 +4351,9 @@ in
buildGoModule = buildGo112Module;
};
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { };
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster {
inherit (darwin.apple_sdk.frameworks) Security;
};
ipget = callPackage ../applications/networking/ipget { };