3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #117137 from fabaff/version-teler

teler: set version
This commit is contained in:
Sandro 2021-03-21 20:46:06 +01:00 committed by GitHub
commit 07509da1f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ buildGoModule
{ lib
, buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
@ -16,6 +16,10 @@ buildGoModule rec {
vendorSha256 = "sha256-KvUnDInUqFW7FypgsppIBQZKNu6HVsEeHtGwdqYtoys=";
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X ktbs.dev/teler/common.Version=${version}")
'';
# test require internet access
doCheck = false;