Skip to content

Commit

Permalink
cli: fix embedding of policy hash
Browse files Browse the repository at this point in the history
The definition of the default policy hash was moved, but the -X argument
for the go build was not changed accordingly.

(cherry picked from commit b32b43e)
  • Loading branch information
burgerdev authored and github-actions[bot] committed Mar 7, 2024
1 parent baab13f commit 583b891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/by-name/cli-release/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
'';

ldflags = previousAttrs.ldflags ++ [
"-X main.DefaultCoordinatorPolicyHash=${builtins.readFile ../../../cli/cmd/assets/coordinator-policy-hash}"
"-X github.com/edgelesssys/contrast/cli/cmd.DefaultCoordinatorPolicyHash=${builtins.readFile ../../../cli/cmd/assets/coordinator-policy-hash}"
];
})).cli

0 comments on commit 583b891

Please sign in to comment.