diff options
Diffstat (limited to 'pkgs/shells/elvish')
-rw-r--r-- | pkgs/shells/elvish/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix index dc7133e988fac..0b7b934646e2e 100644 --- a/pkgs/shells/elvish/default.nix +++ b/pkgs/shells/elvish/default.nix @@ -6,6 +6,10 @@ buildGoPackage rec { goPackagePath = "github.com/elves/elvish"; excludedPackages = [ "website" ]; + buildFlagsArray = '' + -ldflags= + -X ${goPackagePath}/buildinfo.Version=${version} + ''; src = fetchFromGitHub { repo = "elvish"; |