go-ethereum: fix build on darwin
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user