From 398a95314d2e6b38bf0240d55c9ebca5b056524a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 19 Mar 2024 09:50:47 +0100 Subject: [PATCH] fix: use `postFixup` phase for sha256 Stripping the plugin binary in the fixup phase of course changes the hash. Signed-off-by: Harald Hoyer --- packages/vault-auth-tee/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vault-auth-tee/default.nix b/packages/vault-auth-tee/default.nix index 8d480ea..3139a63 100644 --- a/packages/vault-auth-tee/default.nix +++ b/packages/vault-auth-tee/default.nix @@ -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 '';