diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:11:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:11:00 -0500 |
commit | c058bc936d88207e73586994c16e1d31d67f33c1 (patch) | |
tree | f11b6ca185003277e0c91d4d080fc467043cad83 /pkgs/applications/blockchains | |
parent | 33f90726c3c0aa390d446e51a8911edcd75f7d5b (diff) |
go-ethereum: fix build on darwin
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/go-ethereum.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix index d8660967a4e09..80e17cf1138ae 100644 --- a/pkgs/applications/blockchains/go-ethereum.nix +++ b/pkgs/applications/blockchains/go-ethereum.nix @@ -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 ]; |