fix: use postFixup phase for sha256 (#55)

Stripping the plugin binary in the fixup phase of course changes the
hash.
This commit is contained in:
Harald Hoyer 2024-03-26 14:31:28 +01:00 committed by GitHub
commit d98bb9a17d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
'';