From 6c857b7f7023d9ba5c0d9f0ca91f6cc9ab546478 Mon Sep 17 00:00:00 2001 From: Gavin Rogers Date: Fri, 6 Jul 2018 11:55:48 +0100 Subject: [PATCH] Fix: remove platform declaration, add eventfd "if platforms is not set it will default to go.meta.platforms which is probably what you want" And that does sound like what we want. Also, the linux build was complaining about eventfd, or the lack thereof. --- pkgs/servers/holochain-go/default.nix | 1 - pkgs/servers/holochain-go/deps.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/holochain-go/default.nix b/pkgs/servers/holochain-go/default.nix index 8cc9e1aee66e..95ec267dba24 100644 --- a/pkgs/servers/holochain-go/default.nix +++ b/pkgs/servers/holochain-go/default.nix @@ -24,7 +24,6 @@ buildGoPackage rec { downloadPage = "https://developer.holochain.org/"; license = stdenv.lib.licenses.gpl3; maintainers = with stdenv.lib.maintainers; [ gavin ]; - platforms = stdenv.lib.platforms.all; }; } diff --git a/pkgs/servers/holochain-go/deps.nix b/pkgs/servers/holochain-go/deps.nix index b82dbdcc2c37..31e5c2c11a7a 100644 --- a/pkgs/servers/holochain-go/deps.nix +++ b/pkgs/servers/holochain-go/deps.nix @@ -171,6 +171,15 @@ sha256 = "1q23y4lacsz46k9gmgfw4iwwydw36j2601rbidmmswl94grpc386"; }; } + { + goPackagePath = "github.com/gxed/eventfd"; + fetch = { + type = "git"; + url = "https://github.com/gxed/eventfd"; + rev = "80a92cca79a8041496ccc9dd773fcb52a57ec6f9"; + sha256 = "1p15rsimkcp2flj6wb41flac72zhf97zd8jxrahsw05nyfbp58z5"; + }; + } { goPackagePath = "github.com/huin/goupnp"; fetch = {