summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-and-tools/grv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools/grv/default.nix')
-rw-r--r--pkgs/applications/version-management/git-and-tools/grv/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/grv/default.nix b/pkgs/applications/version-management/git-and-tools/grv/default.nix
index cbcf4cd9aeb7..be5b58c57334 100644
--- a/pkgs/applications/version-management/git-and-tools/grv/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/grv/default.nix
@@ -1,6 +1,6 @@
 { stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2_0_25, ncurses, pkgconfig, readline }:
 let
-  version = "0.1.1";
+  version = "0.1.2";
 in
 buildGoPackage {
   name = "grv-${version}";
@@ -10,15 +10,16 @@ buildGoPackage {
 
   goPackagePath = "github.com/rgburke/grv";
 
-  goDeps = ./deps.nix;
-
   src = fetchFromGitHub {
     owner = "rgburke";
     repo = "grv";
     rev = "v${version}";
-    sha256 = "0q9gvxfw48d4kjpb2jx7lg577vazjg0n961y6ija5saja5n16mk2";
+    sha256 = "1i8cr5xxdacpby60nqfyj8ijyc0h62029kbds2lq26rb8nn9qih2";
+    fetchSubmodules = true;
   };
 
+  buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
+
   meta = with stdenv.lib; {
     description = " GRV is a terminal interface for viewing git repositories";
     homepage = https://github.com/rgburke/grv;