using paramter ADDITIONAL_GUIX_COMMON_FLAGS='--no-substitutes' The build fails on openssl-1.1.1n because of a test with an expired certificate.
Fix:
sudo timedatectl set-ntp no
sudo date --set "28 may 2022 15:00:00"
./contrib/guix/guix-build
After openssl is build in another shell:
sudo timedatectl set-ntp yes