mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-06 23:31:34 +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 a new issue