With an '@' character in the profile path I see the following error. (the reason for using the full package@version in the profile path is to preserve successfully built packages when garbage collecting during testing of updates to dependent packages)
Greg $ guix install -p ~/profile/llvm@14 llvm@14 The following package will be installed: llvm 14.0.6 The following derivation will be built: /gnu/store/bvybwzjn6gzvkcyg77lxc1cjk13h41vk-profile.drv building CA certificate bundle... listing Emacs sub-directories... building fonts directory... The following builds are still in progress: /gnu/store/f9q36dx4xlaw4d9m9cfl57v7623dng4d-fonts-dir.drv /gnu/store/7lr81m696k1xbdkpchxjnlxzsr76svh3-emacs-subdirs.drv building directory of Info manuals... The following builds are still in progress: /gnu/store/mhd4jwqyjcsq6nfccnya8jirfaf8pm6f-info-dir.drv /gnu/store/f9q36dx4xlaw4d9m9cfl57v7623dng4d-fonts-dir.drv The following build is still in progress: /gnu/store/mhd4jwqyjcsq6nfccnya8jirfaf8pm6f-info-dir.drv building profile with 1 package... hint: Backtrace: 18 (primitive-load "/home/ec2-user/.config/guix/current/bi…") In guix/ui.scm: 2263:7 17 (run-guix . _) 2226:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 835:3 14 (_) 815:4 13 (call-with-status-report _ _) In guix/store.scm: 1300:8 12 (call-with-build-handler _ _) 1300:8 11 (call-with-build-handler #<procedure 7f9809626990 at g…> …) In guix/build/syscalls.scm: 1433:3 10 (_) 1400:4 9 (call-with-file-lock/no-wait _ _ _) In guix/scripts/package.scm: 325:7 8 (build-and-use-profile _ "/home/ec2-user/profile/llvm@…" …) In guix/ui.scm: 312:5 7 (display-hint _ _) 1448:24 6 (texi->plain-text _) In texinfo.scm: 1132:22 5 (parse _) 980:31 4 (loop #<input: string 7f97f8aa84d0> (*fragment*) _ _ _) 911:31 3 (loop #<input: string 7f97f8aa84d0> #f #<procedure ide…> …) 754:31 2 (_ #<input: string 7f97f8aa84d0> _ (example # # lisp …) …) 92:2 1 (read-command-token #<input: string 7f97f8aa84d0>) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `parser-error' with args `(#<input: string 7f97f8aa84d0> "Nonalphabetic @-command char: '" #\1 "'")'.