ipfs: fix build on darwin
This commit is contained in:
parent
6852ecdcf5
commit
92da50afa8
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ipfs";
|
pname = "ipfs";
|
||||||
@ -18,6 +18,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "12m4ind1s8zaa6kssblc28z2cafy20w2jp80kzif39hg5ar9bijm";
|
modSha256 = "12m4ind1s8zaa6kssblc28z2cafy20w2jp80kzif39hg5ar9bijm";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A global, versioned, peer-to-peer filesystem";
|
description = "A global, versioned, peer-to-peer filesystem";
|
||||||
homepage = https://ipfs.io/;
|
homepage = https://ipfs.io/;
|
||||||
|
@ -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)
|
# 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.
|
# This is fixed in master, but release containing the fix does not exist yet.
|
||||||
buildGoModule = buildGo112Module;
|
buildGoModule = buildGo112Module;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
|
ipfs-migrator = callPackage ../applications/networking/ipfs-migrator { };
|
||||||
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster {
|
ipfs-cluster = callPackage ../applications/networking/ipfs-cluster {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user