From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] guix archive: '-f docker' supports package names as arguments. Date: Sat, 07 Jan 2017 08:07:02 +0100 Message-ID: <87tw9bcprd.fsf@elephly.net> References: <87pok12iy5.fsf@gnu.org> <20170106235834.28588-1-ludo@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]:50522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPl5t-0006Tu-R1 for guix-devel@gnu.org; Sat, 07 Jan 2017 02:07:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPl5s-0007Nw-W4 for guix-devel@gnu.org; Sat, 07 Jan 2017 02:07:13 -0500 In-reply-to: <20170106235834.28588-1-ludo@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" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Courtès writes: > This allows users to type: > > guix archive -f docker emacs > > as was already the case for the 'nar' format. > > Reported by David Thompson. > > * guix/scripts/archive.scm (%default-options): Add 'format'. > (export-from-store): Dispatch based on the 'format' key in OPTS. > (guix-archive): Call 'export-from-store' in all cases when the 'export' > key is in OPTS. Nice, looks good to me! Thank you. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC http://elephly.net