gitAndTools.git-bug: fix --version output
This commit is contained in:
parent
70c2e3633a
commit
29678b9b7d
@ -15,6 +15,13 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
buildFlagsArray = ''
|
||||||
|
-ldflags=
|
||||||
|
-X ${goPackagePath}/commands.GitCommit=${rev}
|
||||||
|
-X ${goPackagePath}/commands.GitLastTag=${version}
|
||||||
|
-X ${goPackagePath}/commands.GitExactTag=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cd go/src/${goPackagePath}
|
cd go/src/${goPackagePath}
|
||||||
install -D -m 0644 misc/bash_completion/git-bug "$bin/etc/bash_completion.d/git-bug"
|
install -D -m 0644 misc/bash_completion/git-bug "$bin/etc/bash_completion.d/git-bug"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user