summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Rogers <gavin.rogers@holo.host>2018-07-06 11:55:48 +0100
committerGavin Rogers <gavin.rogers@holo.host>2018-07-06 11:55:48 +0100
commit6c857b7f7023d9ba5c0d9f0ca91f6cc9ab546478 (patch)
tree3dd9cef07c377577153f5c444ea6a96f4bb0ddda
parent0090b88ec30bda8ebe68e8e88f9ca6cd27400e4b (diff)
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.
-rw-r--r--pkgs/servers/holochain-go/default.nix1
-rw-r--r--pkgs/servers/holochain-go/deps.nix9
2 files changed, 9 insertions, 1 deletions
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
@@ -172,6 +172,15 @@
};
}
{
+ goPackagePath = "github.com/gxed/eventfd";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gxed/eventfd";
+ rev = "80a92cca79a8041496ccc9dd773fcb52a57ec6f9";
+ sha256 = "1p15rsimkcp2flj6wb41flac72zhf97zd8jxrahsw05nyfbp58z5";
+ };
+ }
+ {
goPackagePath = "github.com/huin/goupnp";
fetch = {
type = "git";