From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Bogatov Subject: Re: Multiple versions Date: Sun, 27 Dec 2015 19:41:05 +0300 Message-ID: <20151227164105.GA15526@sagulo> References: <20151227052600.GA32379@thebird.nl> <20151227092027.GA1958@sagulo> <20151227124152.GA1249@thebird.nl> <20151227144002.GA23049@sagulo> <87r3i75275.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDENu-0005wD-Br for guix-devel@gnu.org; Sun, 27 Dec 2015 11:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDENr-0006E0-69 for guix-devel@gnu.org; Sun, 27 Dec 2015 11:41:30 -0500 Content-Disposition: inline In-Reply-To: <87r3i75275.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel@gnu.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >> I do the same with Ruby using profiles. I have any number of interpret= ers > >> installed for testing and any number of libraries using either guix or > >> the lib path with a profile in there. > > > > But how do you solve problem, that for example you want library foo-999= =2Every.new, > > compiled with ruby-1.8, but they never existed at same time in guix > > package tree? >=20 > Then you can either look up the recipe for ruby-1.8 in the repository > history and copy it, or you create a fresh variant of the =E2=80=9Cruby= =E2=80=9D package > with something like this: >=20 > (define-public my-particular-ruby > (package (inherit ruby) > (version "1.8") > (source (origin ...) ...))) >=20 > Here you adjust the version and the source, and bind this variant to a > name =E2=80=9Cmy-particular-ruby=E2=80=9D. >=20 > You can either put this expression in the =E2=80=9Cruby.scm=E2=80=9D modu= le (e.g. in a > local branch), or maintain your own package module. If you choose the > latter you=E2=80=99d have to tell Guix about it by pointing the environme= nt > variable =E2=80=9CGUIX_PACKAGE_PATH=E2=80=9D at the path. Looks not so easy, but I got my answers. Thanks. --=20 Accept: text/plain, text/x-diff Accept-Language: eo,en,ru X-Keep-In-CC: yes X-Web-Site: sinsekvu.github.io --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWgBShAAoJEHiL4BJUt/ANxaEQALwJT+yYx1X6EfYfdtYposHq G+88VgJusFK4b764LZnuIBiJrVS4ZikFXxMddoiFmWYdHY96aj35NTaGPa5snmhH TYvLvZBov7bAAO2yAGB7qL3vcSntHkbSqV1NEhSgArWwPkxaPUOSjVlOav9orL7h ls4EuACnz5zD/T/o6R5f+Q4Mv1HuLLGMvNmmkaYH6TemIGhiG4AsZiJQqRJuFryh //bNvlFVfZoENeABMvvmlS31W8RgQuBwGPRJTCAResrKuB8rdpCeSl2RA3F0egHq G6gf/C98WNz2gqCX85WTJ9LXwhTu1Yi/HJwUTmQpbptc98bYINGWhqNytUBMDohy cHq3nUmk/qn20Ac0IOiDsqVpq82w4OTjUS6FO6CSTakmWTxlA6vIwwp0yOHXDEKi 3Hq/I709GE4jqrmD0IdgkL9bWcbZ2uExOQR/4UbeOycxrhs6YnQZ+6nhdMa95mZx JyV2V6fFwE6ne4HexYMMexrDTxkj9Ec6VOY13KaaIR9cPHdoGa4+a8ypIe/NQErm 6Yhdw5QUExoW08j0wfqmkY8FQ/m6cskys5u386vpu1K9DjfE94vvgIgv502YgOnH /60uB3rYXKXeOLH1069yN4K6xUzsVwZebqFiiuVyDn78dQUqYBkHmB5oS9dmME7o HemJrIGhf6jSEil4B/bo =RCP8 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--