forked from mirrors/nixpkgs
conftest: fix version command
This commit is contained in:
parent
c2fbdeb28a
commit
024f5b30e0
|
@ -15,10 +15,12 @@ buildGoModule rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=
|
||||
-X main.version=${version}
|
||||
'';
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/open-policy-agent/conftest/internal/commands.version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Write tests against structured configuration data";
|
||||
|
|
Loading…
Reference in a new issue