Add version flag to Open Policy Agent build
This commit is contained in:
parent
883af843c3
commit
debf7bbcb0
@ -13,6 +13,11 @@ buildGoPackage rec {
|
||||
};
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X ${goPackagePath}/version.Version=${version}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "General-purpose policy engine";
|
||||
homepage = "https://www.openpolicyagent.org";
|
||||
|
Loading…
Reference in New Issue
Block a user