Subject: No guix locate lock error handling

From: Maciej Kalandyk <[email-masked]>
Date: Thu, 26 Oct 2023 03:04:41 +0200

If you run guix locate when another guix locate that is generating
database is running the former is going to crash with database is locked
"raw" error
It should either wait for lock to be released or display an "formatted" error

guix describe:
  guix e0b94a4
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e0b94a4d27e6edbc7a87eafdf6fd0e163e0646db
  nonguix 182ce51
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 182ce510b5355163fd286553a6fec40bd7935069