Skip to content

Commit

Permalink
fix: use postFixup phase for sha256
Browse files Browse the repository at this point in the history
Stripping the plugin binary in the fixup phase of course changes the hash.

Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Mar 19, 2024
1 parent aec55a2 commit 398a953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vault-auth-tee/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pkgs.buildGoModule {
];
};

postInstall = ''
postFixup = ''
mkdir -p $sha/share
sha256sum $out/bin/vault-auth-tee | (read a _; echo $a) > $sha/share/vault-auth-tee.sha256
'';
Expand Down

0 comments on commit 398a953

Please sign in to comment.