From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Emacs interface for Guix Date: Fri, 25 Jul 2014 22:36:59 +0200 Message-ID: <87r419fa50.fsf@gnu.org> References: <87k3719v7p.fsf@gmail.com> 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]:55205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAmEi-00018t-H1 for guix-devel@gnu.org; Fri, 25 Jul 2014 16:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAmEh-0007xv-E5 for guix-devel@gnu.org; Fri, 25 Jul 2014 16:37:04 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:42329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAmEg-0007xq-1b for guix-devel@gnu.org; Fri, 25 Jul 2014 16:37:03 -0400 In-Reply-To: <87k3719v7p.fsf@gmail.com> (Alex Kost's message of "Fri, 25 Jul 2014 21:58:18 +0400") 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: Alex Kost Cc: guix-devel@gnu.org Hi, Alex, Alex Kost skribis: > I have questions about installing/deleting packages using guile repl. > I know it is possible to =E2=80=98(guix-package "--install" "guile-2.0.11= ")=E2=80=99, > but is there an easy way to install an output of an exact _package > object_? I mean not any "guile" but #. > > I think =E2=80=98(guix-package "--install-from-expression" ...)=E2=80=99 = is also not > sufficient as it always (?) installs =E2=80=9Cout=E2=80=9D. This is correct. (It could be worked around by adding a command-line option to specify another output, but that just hadn=E2=80=99t seem very us= eful so far.) > There is a lot of code in =E2=80=9Cguix/scripts/package.scm=E2=80=9D to d= o all that > stuff and unfortunately not much is exported from this module > (=E2=80=9Cpackage->manifest-entry=E2=80=9D from =E2=80=9Coptions->install= able=E2=80=9D would be very > useful for example), and I think trying to include this code in the > helper scheme file for guix.el is not right (besides my scheme foo is > weak and I'm not sure I can do that successfully) that's why I ask > about an easier way. Well, you=E2=80=99ve already understood what needs to be done. :-) Namely, (guix scripts package) needs to be made more modular, and the generic bits must be moved to (guix profiles). Now that there=E2=80=99s a second consumer for this API, there=E2=80=99s more of an incentive to do it. I=E2=80=99m willing to help for that, but I=E2=80=99m happy if you give it = a try. WDYT? Thanks, Ludo=E2=80=99.