From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Multiple Versions of Packages? Date: Sat, 07 Dec 2013 12:33:01 +0100 Message-ID: <87iov03ngy.fsf@gnu.org> References: <20131207111357.GA347@jocasta.intra> <20131207112503.GA24111@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpG8E-00073s-If for guix-devel@gnu.org; Sat, 07 Dec 2013 06:33:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpG87-0006oJ-Qz for guix-devel@gnu.org; Sat, 07 Dec 2013 06:33:10 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:10407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpG87-0006ms-Kt for guix-devel@gnu.org; Sat, 07 Dec 2013 06:33:03 -0500 In-Reply-To: <20131207112503.GA24111@debian> (Andreas Enge's message of "Sat, 7 Dec 2013 12:25:03 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge 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 =E2=80=98bison-for-tests=E2=80=99 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 =E2=80=98old-times=E2=80=99 Ludo=E2=80=99.