I wrote: > ludo@gnu.org (Ludovic Courtès) writes: >> Note that I think we’ll most likely have a single ‘guix’ script in the >> near future, so that ‘guix-pull’ can actually update everything: Guix, >> commands, and distro. > > Okay, I have another proposal. I've written a proposed 'guix' script > that's pure Guile code. The idea is that "guix FOO ARGS ..." augments > the load paths as needed, loads the module (guix scripts guix-FOO) and > then applies the procedure 'guix-FOO' to (ARGS ...) > > It also supports "guix-FOO ARGS ..." simply by making 'guix-FOO' a > symlink to 'guix'. > > Then we can move all the scripts into guix/scripts/, and remove the > boilerplate shell code from the top of all them. They become pure guile > modules. No more shell at all. > > What do you think? I went ahead and made a preliminary patch to do this. Comments and suggestions welcome. Mark