go-ethereum: fix build on darwin
This commit is contained in:
parent
33f90726c3
commit
c058bc936d
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, libobjc, IOKit, CoreServices }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-ethereum";
|
||||
@ -30,6 +30,8 @@ buildGoModule rec {
|
||||
"cmd/wnode"
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
# Fix for usb-related segmentation faults on darwin
|
||||
propagatedBuildInputs =
|
||||
stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
|
||||
|
@ -23045,7 +23045,7 @@ in
|
||||
freicoin = callPackage ../applications/blockchains/freicoin.nix { boost = boost155; };
|
||||
go-ethereum = callPackage ../applications/blockchains/go-ethereum.nix {
|
||||
inherit (darwin) libobjc;
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices IOKit;
|
||||
};
|
||||
|
||||
ledger_agent = with python3Packages; toPythonApplication ledger_agent;
|
||||
|
Loading…
Reference in New Issue
Block a user