pack: Add packages in the order in which they appear on the command line.
authorLudovic Courtès <ludo@gnu.org>
Fri, 13 Sep 2019 15:35:08 +0000 (17:35 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 16 Sep 2019 08:25:16 +0000 (10:25 +0200)
* guix/scripts/pack.scm (guix-pack)[manifest-from-args](packages):
Reverse order of packages taken from OPTS.

guix/scripts/pack.scm

index dd91a24..055d6c9 100644 (file)
@@ -944,7 +944,8 @@ Create a bundle of PACKAGE.\n"))
                                   (list (transform store package) output))
                                  ((? package? package)
                                   (list (transform store package) "out")))
-                               (filter-map maybe-package-argument opts)))
+                               (reverse
+                                (filter-map maybe-package-argument opts))))
            (manifest-file (assoc-ref opts 'manifest)))
       (define properties
         (if (assoc-ref opts 'save-provenance?)