From cdf876f6d8c61285b2e96135d109bc7e0cd0cd8a Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:50:46 +1000 Subject: [PATCH] eclint: set version --- pkgs/development/tools/eclint/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/eclint/default.nix b/pkgs/development/tools/eclint/default.nix index 729b6cffac9f..b3ababc56d57 100644 --- a/pkgs/development/tools/eclint/default.nix +++ b/pkgs/development/tools/eclint/default.nix @@ -17,6 +17,8 @@ rec { vendorSha256 = "sha256-CdvxY3uX6i3Xtg50jqlNr+VXpeOeg8M27huasbzA96M="; + ldflags = [ "-X main.version=${version}" ]; + meta = with lib; { homepage = "https://gitlab.com/greut/eclint"; description = "EditorConfig linter written in Go";