This version of Go is patched to resolve issue:
This repo is a Nix expression that builds Go from source, after applying the patch.
You can download the patch file from the following link:
wget https://patch-diff.githubusercontent.com/raw/golang/go/pull/39639.diff