Merge pull request #47867 from zimbatm/elvish-version

elvish: provide the compiled version
This commit is contained in:
Jörg Thalheim 2018-10-04 19:52:14 +01:00 committed by GitHub
commit c67c243afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,10 @@ buildGoPackage rec {
goPackagePath = "github.com/elves/elvish";
excludedPackages = [ "website" ];
buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/buildinfo.Version=${version}
'';
src = fetchFromGitHub {
repo = "elvish";