From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Emacs interface for Guix Date: Fri, 25 Jul 2014 21:58:18 +0400 Message-ID: <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]:58014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAjlI-0006a8-4U for guix-devel@gnu.org; Fri, 25 Jul 2014 13:58:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAjl9-00027r-33 for guix-devel@gnu.org; Fri, 25 Jul 2014 13:58:32 -0400 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:59350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAjl8-00026i-Rx for guix-devel@gnu.org; Fri, 25 Jul 2014 13:58:23 -0400 Received: by mail-lb0-f169.google.com with SMTP id s7so3742152lbd.28 for ; Fri, 25 Jul 2014 10:58:21 -0700 (PDT) Received: from leviafan (128-70-202-85.broadband.corbina.ru. [128.70.202.85]) by mx.google.com with ESMTPSA id kj8sm16929028lbc.10.2014.07.25.10.58.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 10:58:20 -0700 (PDT) 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: guix-devel@gnu.org Hello, 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. If I understand correctly a lot of stuff should be done to perform such actions properly: at first the new manifest is created from the current one by adding/removing entries (created from packages) for installation/deletion, then the derivations are built and symlinks are updated. There is a lot of code in =E2=80=9Cguix/scripts/package.scm=E2=80=9D to do = all that stuff and unfortunately not much is exported from this module (=E2=80=9Cpackage->manifest-entry=E2=80=9D from =E2=80=9Coptions->installab= le=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. Thanks, Alex