From mboxrd@z Thu Jan 1 00:00:00 1970 From: John J Foerch Subject: Re: chicken scheme Date: Fri, 01 Jul 2016 16:22:55 -0400 Message-ID: <8737ntaz1c.fsf@hecubus.retroj.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ4y5-00073G-4U for help-guix@gnu.org; Fri, 01 Jul 2016 16:23:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJ4y0-0003E4-UZ for help-guix@gnu.org; Fri, 01 Jul 2016 16:23:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:57094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ4y0-0003E0-Nx for help-guix@gnu.org; Fri, 01 Jul 2016 16:23:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bJ4xu-0005x6-Nz for help-guix@gnu.org; Fri, 01 Jul 2016 22:23:06 +0200 Received: from 152.160.144.141 ([152.160.144.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2016 22:23:06 +0200 Received: from jjfoerch by 152.160.144.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2016 22:23:06 +0200 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: help-guix@gnu.org ludo@gnu.org (Ludovic Courtès) writes: > John J Foerch skribis: > >> I have just learned about 'guix import', and have the thought that a >> package importer would be the better way to go. Eventually I would like >> to package software that I've written in CHICKEN for GuixSD, and only a >> package importer would make that feasible. > > "Thompson, David" skribis: > >> On Fri, Jul 1, 2016 at 8:11 AM, John J Foerch wrote: >> >>> First a question about /var/lib, and please excuse the newbie question. >>> If chicken extensions were installed to /var/lib, wouldn't that go >>> against the spirit of guix of keeping every program isolated? Isn't >>> /var/lib global state? >> >> Yes, but this program is not Guix. It's a completely separate package >> manager, and it should work as intended. > > Agreed. So I think there are two issues at hand: > > 1. How to arrange our ‘chicken’ package so that ‘chicken-install’ > works as intended. > > 2. How to import Eggs so that they can be first-class Guix packages. > > #2, which means writing an importer, is definitely the most profitable > approach: It’s best as a user to have all the packages managed by the > same tool, especially if that provides isolation, transactional upgrades > and rollbacks, etc. > > #1 is useful for CHICKEN users who are used to ‘chicken-install’ > (similarly pip, npm, etc. are supposed to work.) It should work in the > same way as on other distros. I’ve never used it though, so I can’t > give precise advice. > It installs all extensions to a single system-wide directory, with one path component that gives the binary version. On my debian machine, that is /var/lib/chicken/7 (for chicken 4.10.0). In that way, it is simpler than something like npm. -- John Foerch