From b1728a95a89792a46e0319edb0d5dceb2f54d00c Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 6 Apr 2025 21:23:50 +0200 Subject: [PATCH] guix: unset HOST env variable --- contrib/guix/guix-build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build index 76c77cc188..1f8d443dd7 100755 --- a/contrib/guix/guix-build +++ b/contrib/guix/guix-build @@ -47,6 +47,15 @@ EOF exit 1 fi +################ +# Unset environment variables +################ + +# contrib/depends uses the HOST environment variable as the build target. +# It will throw an error if this variable is set to an unrecognized target. +# Ensure the var is unset so calls to contrib/depends further down don't fail. +unset HOST + ################ # Checkout git submodules if we haven't already ################