Replacing Bash with Guile could be a clear win too, because Bash is an awful language, but Guile's interactive experience is not all that great in my experience, and because of how code staging is done in Guix, you can't just easily run bits of Guile code inside an interactive REPL to build a package.