ipfs: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:28:00 -05:00
parent 6852ecdcf5
commit 92da50afa8
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "ipfs";
@ -18,6 +18,8 @@ buildGoModule rec {
modSha256 = "12m4ind1s8zaa6kssblc28z2cafy20w2jp80kzif39hg5ar9bijm";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "A global, versioned, peer-to-peer filesystem";
homepage = https://ipfs.io/;

View File

@ -4349,6 +4349,7 @@ in
# go: github.com/go-critic/go-critic@v0.0.0-20181204210945-ee9bf5809ead: invalid pseudo-version: does not match version-control timestamp (2019-02-10T22:04:43Z)
# This is fixed in master, but release containing the fix does not exist yet.
buildGoModule = buildGo112Module;
inherit (darwin.apple_sdk.frameworks) Security;
};
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster {