mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
grv: pass in version, fix "grv -version" to at least include that
Currently: $ grv -version GRV - Git Repository Viewer Unknown (commit: Unknown, compiled: Unknown) After: $ grv -version GRV - Git Repository Viewer 0.1.1 (commit: Unknown, compiled: Unknown)
This commit is contained in:
parent
39f62c770b
commit
9ee6f46606
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ buildGoPackage {
|
|||
sha256 = "0q9gvxfw48d4kjpb2jx7lg577vazjg0n961y6ija5saja5n16mk2";
|
||||
};
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue