From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42587) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i94a6-0006SS-Ov for guix-patches@gnu.org; Sat, 14 Sep 2019 05:43:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i94a5-00030g-T1 for guix-patches@gnu.org; Sat, 14 Sep 2019 05:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i94a5-00030a-P2 for guix-patches@gnu.org; Sat, 14 Sep 2019 05:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i94a5-0001ue-Kq for guix-patches@gnu.org; Sat, 14 Sep 2019 05:43:01 -0400 Subject: [bug#37401] [PATCH 2/2] pack: Add packages in the order in which they appear on the command line. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190913155116.19225-1-ludo@gnu.org> <20190913155116.19225-2-ludo@gnu.org> <87pnk4qihp.fsf@elephly.net> Date: Sat, 14 Sep 2019 11:42:07 +0200 In-Reply-To: <87pnk4qihp.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 13 Sep 2019 18:16:34 +0200") Message-ID: <87zhj75i4w.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 37401@debbugs.gnu.org Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> * guix/scripts/pack.scm (guix-pack)[manifest-from-args](packages): >> Reverse order of packages taken fro OPTS. > > Typo: =E2=80=9Cfrom=E2=80=9D. > >> - (filter-map maybe-package-argument opts)= )) >> + (reverse >> + (filter-map maybe-package-argument opts= )))) > > Why is this necessary? It=E2=80=99s mostly so that if you do =E2=80=98guix pack -f docker sed grep= findutils=E2=80=99 the repo name is =E2=80=9Csed-grep-findutils=E2=80=9D and not =E2=80=9Cfind= utils-grep-sed=E2=80=9D. Ludo=E2=80=99.