From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: chicken scheme Date: Sun, 17 Jul 2016 19:45:19 +0200 Message-ID: <877fck2m6o.fsf@gnu.org> References: <871t3ecx0f.fsf@hecubus.retroj.net> <87shvumkp0.fsf@gnu.org> <87vb0qbbeu.fsf@hecubus.retroj.net> <87ziq1lmyn.fsf@gnu.org> <87h9c9blso.fsf@hecubus.retroj.net> <874m89kufq.fsf@gnu.org> <8737ntaz1c.fsf@hecubus.retroj.net> <87y45kibmz.fsf@gnu.org> <87twfo8htp.fsf@hecubus.retroj.net> 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]:45565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOq87-00053e-DB for help-guix@gnu.org; Sun, 17 Jul 2016 13:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOq83-0006ml-9F for help-guix@gnu.org; Sun, 17 Jul 2016 13:45:26 -0400 In-Reply-To: <87twfo8htp.fsf@hecubus.retroj.net> (John J. Foerch's message of "Sun, 17 Jul 2016 10:22:58 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: John J Foerch Cc: help-guix@gnu.org Hello! John J Foerch skribis: > I'm finally getting back to this. One point about chicken is that it > does not support multiple extension directories, only one. They go into > /chicken/. This introduces a difficulty because > if VARDIR is /var/lib, then the default extensions (that come with > chicken) get installed to a global directory. The chicken-install > system will then work, but in the future when we add a package importer, > imported packages would also go into this global directory. > > If on the other hand, VARDIR is (string-append out "/var/lib") the > default extensions and imported extensions go to the right place, but > manual chicken-install cannot write to that location. > > Any further thoughts on this, given that information? Ouch, that=E2=80=99s a problem. Nixpkgs uses VARDIR=3DOUT/var/lib, meaning that chicken-install does not work. However, it also contains an optional patch that allows extensions to be searched for elsewhere: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/c= hicken/0001-Introduce-CHICKEN_REPOSITORY_EXTRA.patch I think the best course of action would be to submit this change upstream, if it hasn=E2=80=99t been done already. It=E2=80=99s useful beyo= nd Nix and Guix, so it probably makes sense to include it. In the meantime, I would (temporarily) sacrifice chicken-install in favor of an Egg importer. WDYT? Thanks, Ludo=E2=80=99.