mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
Merge pull request #47867 from zimbatm/elvish-version
elvish: provide the compiled version
This commit is contained in:
commit
c67c243afd
@ -6,6 +6,10 @@ buildGoPackage rec {
|
||||
|
||||
goPackagePath = "github.com/elves/elvish";
|
||||
excludedPackages = [ "website" ];
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X ${goPackagePath}/buildinfo.Version=${version}
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "elvish";
|
||||
|
Loading…
Reference in New Issue
Block a user