teller: fix build

add HOME=$(mktemp -d) in checkPhase
This commit is contained in:
Rob 2023-11-08 00:43:58 -08:00
parent eaad9ece24
commit 031f2f3cee
No known key found for this signature in database

View File

@ -19,6 +19,7 @@ buildGoModule {
# use make instead of default checks because e2e does not work with `buildGoDir`
checkPhase = ''
runHook preCheck
HOME="$(mktemp -d)"
# We do not set trimpath for tests, in case they reference test assets
export GOFLAGS=''${GOFLAGS//-trimpath/}