Subject: guix build: error: invalid character `~' in name

From: nigko <[email-masked]>
Date: Mon, 31 Jul 2023 18:20:46 +0500

Hello,

When running "guix build -f alps.scm" where alps.scm uses url-fetch with 
(uri 
"https://exa.phys.s.u-tokyo.ac.jp/archive/MateriApps/src/alps_20220304~r7871.orig.tar.gz") 
the following error occurs

guix build: error: invalid character `~' in name 
'alps_20220304~r7871.orig.tar.gz.drv'

Bug was noted at
     repository URL: https://git.savannah.gnu.org/git/guix.git
     commit: c173819c8e5235ce02d60b79bd88b10023a7c614
     branch: master