aws-okta: buildFlags{,Array} -> ldflags, tags

This commit is contained in:
zowoq 2021-08-07 14:58:00 +10:00
parent f663111578
commit 379ab84e39

View file

@ -13,9 +13,9 @@ buildGoPackage rec {
sha256 = "sha256-1cprKpIFgM3+lUEHNvda34nJTH4Ch3LtTRq/Dp6QBQ8=";
};
buildFlags = [ "--tags" "release" ];
tags = [ "release" ];
buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ];
ldflags = [ "-X main.Version=${version}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 libiconv ];