glide: output correct version (#22896)
It currently displays `0.12.0-dev` instead of the specified version. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
a9584c9510
commit
834de6ebaa
@ -6,6 +6,11 @@ buildGoPackage rec {
|
||||
|
||||
goPackagePath = "github.com/Masterminds/glide";
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.version=${version}
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "Masterminds";
|
||||
|
Loading…
Reference in New Issue
Block a user