When building Guix from source, you must perform an initial guix pull as root to populate ${localstatedir}/guix/profiles/per-user/root/current-guix.
Warning: Before running this, review your security model and adjust guix and guix-daemon flags, as guix pull may attempt to pull substitutes from servers.
If you encounter the error error: while creating symlink '/root/.config/guix/current' No such file or directory, run sudo mkdir -p /root/.config/guix before retrying.
sudo --login guix pull --branch=version-<latest-release-version>
# or
sudo --login guix pull --commit=<particular-commit>