From fa8a324ae85c454826b8d58b31870390805c1f01 Mon Sep 17 00:00:00 2001 From: Timothy Stott Date: Tue, 23 Jun 2020 22:17:07 +0100 Subject: [PATCH] aws-okta: embed version in build --- pkgs/tools/security/aws-okta/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/aws-okta/default.nix b/pkgs/tools/security/aws-okta/default.nix index 548a30db2d6a..193198ccd213 100644 --- a/pkgs/tools/security/aws-okta/default.nix +++ b/pkgs/tools/security/aws-okta/default.nix @@ -17,6 +17,8 @@ buildGoPackage rec { buildFlags = [ "--tags" "release" ]; + buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ]; + nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libusb1 libiconv ];