teler: set version
This commit is contained in:
parent
718ff92292
commit
fc0f84cfe1
@ -1,6 +1,6 @@
|
|||||||
{ buildGoModule
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -16,6 +16,10 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = "sha256-KvUnDInUqFW7FypgsppIBQZKNu6HVsEeHtGwdqYtoys=";
|
vendorSha256 = "sha256-KvUnDInUqFW7FypgsppIBQZKNu6HVsEeHtGwdqYtoys=";
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
buildFlagsArray+=("-ldflags" "-s -w -X ktbs.dev/teler/common.Version=${version}")
|
||||||
|
'';
|
||||||
|
|
||||||
# test require internet access
|
# test require internet access
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user