From f25f49b93d1dea694764ee7293ea45a307555745 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 25 Feb 2021 16:08:45 +0100 Subject: [PATCH] k2tf: fix version Follow-up on https://github.com/NixOS/nixpkgs/pull/114359#discussion_r582849872 --- pkgs/development/tools/misc/k2tf/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/misc/k2tf/default.nix b/pkgs/development/tools/misc/k2tf/default.nix index ca80179a5405..904256ee66a9 100644 --- a/pkgs/development/tools/misc/k2tf/default.nix +++ b/pkgs/development/tools/misc/k2tf/default.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorSha256 = "1c2mwhrj0xapc661z1nb6am4qq3rd1pvbvjaxikjyx95n0gs8gjk"; + buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=v${version}" ]; + meta = with lib; { description = "Kubernetes YAML to Terraform HCL converter"; homepage = "https://github.com/sl1pm4t/k2tf";