Ludovic Courtès writes: > Very nice! To make the code nicer, I suppose we could simply change it > to use the Geiser integration in emacs-guix. We could call out to (guix > profiles) and (guix search-paths) and ‘setenv’ what it returns.
Hmm, interesting! I was thinking I should have used the guix repl to guix package -m ... / guix environment --search-paths; or that we should create the information that's now in etc/profile also in sexp form, possibly readable by Guile and Emacs Lisp alike... > It might turn out to be more code that what you posted though, so your > solution is not that bad after all! ...but indeed, then I settled for "parsing" sh ;-) janneke -- Jan Nieuwenhuizen <[email protected]> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
