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.
  • Loading branch information
burgerdev committed Mar 7, 2024
1 parent 1e7c70f commit b32b43e
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 b32b43e

Please sign in to comment.