From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs interface for Guix Date: Wed, 20 Aug 2014 14:54:00 +0400 Message-ID: <87ha17ctyv.fsf_-_@gmail.com> References: <87k3719v7p.fsf@gmail.com> <87r419fa50.fsf@gnu.org> <87fvho9fqm.fsf@gmail.com> <87a97taixl.fsf@gmail.com> <87sil2rbly.fsf@gnu.org> <87tx5idn7f.fsf_-_@gmail.com> <87egwlkcy1.fsf@gnu.org> <87ppg5el2i.fsf@gmail.com> <87d2c5h4if.fsf@gnu.org> <87lhqsev1d.fsf@gmail.com> <877g2c74xh.fsf@gnu.org> <87ha1gds3w.fsf@gmail.com> <8761hsmxkl.fsf@gnu.org> <87zjf4d1mh.fsf@gmail.com> <87mwb0b3fq.fsf@gnu.org> 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]:57422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK3Wq-0000Eb-V8 for guix-devel@gnu.org; Wed, 20 Aug 2014 06:54:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK3Wh-0003TI-TI for guix-devel@gnu.org; Wed, 20 Aug 2014 06:54:08 -0400 In-Reply-To: <87mwb0b3fq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 19 Aug 2014 23:00:09 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2014-08-20 01:00 +0400) wrote: > Alex Kost skribis: > >> From 7641752189cfc4ad3c85a042ea9eeea2b39435b4 Mon Sep 17 00:00:00 2001 >> From: Alex Kost >> Date: Thu, 14 Aug 2014 00:03:53 +0400 >> Subject: [PATCH 1/2] profiles: Add 'manifest-transaction'. >> >> * guix/profiles.scm (): New record-type. >> (manifest-perform-transaction): New procedure. >> (manifest-show-transaction): New procedure. >> * tests/profiles.scm ("manifest-perform-transaction"): New test. > > Applied with two minor changes: use (ice-9 format), as reported by > -Wformat, and move the =E2=80=98store=E2=80=99 argument first for consist= ency. > >> From 9bc3426a4550fe7e28a4c9ff807e3650f0ab1b92 Mon Sep 17 00:00:00 2001 >> From: Alex Kost >> Date: Thu, 14 Aug 2014 00:15:48 +0400 >> Subject: [PATCH 2/2] guix package: Use 'manifest-transaction'. >> >> * guix/scripts/package.scm (guix-package)[process-actions]: Use >> 'manifest-transaction' instead of the equivalent code. >> (show-what-to-remove/install): Remove. > > Applied, with the store argument first. Thanks, now (with the latest =E2=80=9Cguix pull=E2=80=9D), installing/upgra= ding/removing should work in "guix.el". If you (or someone else) wish to try it, you may use: (setq guix-dry-run t) (It has the same meaning as =E2=80=9C--dry-run=E2=80=9D option). Also I would like to add support for deleting generations (to "guix.el"), so I think it would be good to export =E2=80=98delete-generatio= n=E2=80=99 from "scripts/package.scm". WDYT? -- Alex