Andreas Enge <andr...@enge.fr> skribis: > On Sat, Dec 07, 2013 at 12:13:57PM +0100, John Darrington wrote: >> Can we have Texinfo 5 and Texinfo 4 concurrently in guix? > > Yes, without problem. You may add a variable texinfo-4; with a bit of > luck, it can simply inherit from texinfo with a few added modifications. > You may have a look at Qt 4 and 5 for inspiration.
Indeed, you can really choose what to put in the build environment. See ‘bison-for-tests’ as another example, in flex.scm. As an end user, you could choose to have different profiles: $ guix package -i texinfo -i guile # installs Texinfo 5.2, Guile 2.0.9 $ guix package -p old-times -i texinfo-4.3 -i guile-1.8.8 # installs those under ‘old-times’ Ludo’.