From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Guix as a Guile package manager Date: Sat, 9 Jan 2016 15:42:27 -0500 Message-ID: <20160109204227.GD30687@jasmine> References: <5690E261.8000704@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]:46521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI0LB-0004qL-I4 for guix-devel@gnu.org; Sat, 09 Jan 2016 15:42:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aI0L8-0007X9-Ay for guix-devel@gnu.org; Sat, 09 Jan 2016 15:42:25 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aI0L8-0007Wz-7E for guix-devel@gnu.org; Sat, 09 Jan 2016 15:42:22 -0500 Content-Disposition: inline In-Reply-To: <5690E261.8000704@gnu.org> 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: Fabio Pesari Cc: guix-devel@gnu.org, guile-devel@gnu.org On Sat, Jan 09, 2016 at 11:35:13AM +0100, Fabio Pesari wrote: > Package managers have been immensely successful in increasing the > popularity of programming languages - think about Perl's CPAN or Ruby's > Gem. But Guile doesn't a package manager, and that in my opinion slows > down its adoption. > > The Guix repos distribute a lot of useful Guile libraries (like > guile-json or guile-opengl) which can't be found on most distro > repositories and it already provides Guile APIs and package management > capabilities...my question is, can Guix be forked into a full-blown > Guile package manager like gem from Ruby? > > I know that an argument could be made that Guix can already be used in > this way, but there are many Scheme coders who don't need a system-wide > package manager and would rather use a program that can manage Guile > packages under a user root like ~/.guile and allow them to easily > distribute their packages (something like Python's virtualenvs would > also be useful). > > Perhaps some of the Guix code can be moved to a library, so that both > the Guix and the Guile package manager binaries can reuse the same code. > Moving Guix' core to a library would also facilitate its inclusion in > things like PackageKit, as well as make it easier to create front-ends. I think the main problem with this idea is that the whole point of Guix / Nix is to manage the entire dependency graph — from the package you are trying to install and use all the way down the tar used to unpack the sources, the GCC used to compile everything, etc. There is not much point in using Guix to only manage the very top-level of the graph (the Guile modules you'd want to install) because by not managing the entire graph from top to bottom, the Guix system would just break as the unmanaged dependencies are changed the OS's package manager or the user. There really isn't anything left when you try to split up Guix in the way you are requesting. > > I'm not a package management expert so I'm not sure this idea is > feasible but I would really like Guile to become more > popular, and this I think would be a step in the right direction. >