Skip to content

Commit

Permalink
fix: use postFixup phase for sha256 (#55)
Browse files Browse the repository at this point in the history
Stripping the plugin binary in the fixup phase of course changes the
hash.
  • Loading branch information
haraldh committed Mar 26, 2024
2 parents aec55a2 + 398a953 commit d98bb9a
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 d98bb9a

Please sign in to comment.