From 93a7c5d77b3b7b1e30377a36dc6385e2137d1463 Mon Sep 17 00:00:00 2001 From: Gavin Rogers Date: Thu, 28 Jun 2018 23:28:53 +0100 Subject: Cleanup: remove v from version and use fetchFromGithub More housecleaning, also as per @Mic92. He's right, as it says in the manual, to use fetchFromGithub instead of fetchgit > Best: Fetches a snapshot archive and you get the rev you want. --- pkgs/servers/holochain-go/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pkgs/servers/holochain-go') diff --git a/pkgs/servers/holochain-go/default.nix b/pkgs/servers/holochain-go/default.nix index 0a3b8a8c9531..b76c73e06f24 100644 --- a/pkgs/servers/holochain-go/default.nix +++ b/pkgs/servers/holochain-go/default.nix @@ -2,15 +2,16 @@ buildGoPackage rec { name = "holochain-go${version}"; - version = "v0.1.0-alpha"; + version = "0.1.0-alpha"; rev = "a17510b910a7a377441c152b8dccdbae1999f63f"; goPackagePath = "github.com/holochain/holochain-proto"; - src = fetchgit { + src = fetchFromGithub { inherit rev; - url = "https://github.com/holochain/holochain-proto"; + owner = "holochain"; + repo = "holochain-proto"; sha256 = "19l29jnr63ximmyn4i4llv2mdwh306c2mpzmx2anj9z12wjpach0"; }; -- cgit 1.4.1