[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple Versions of Packages?
From: |
Ludovic Courtès |
Subject: |
Re: Multiple Versions of Packages? |
Date: |
Sat, 07 Dec 2013 12:33:01 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Andreas Enge <address@hidden> 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’.