guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: pack: Add packages in the order in which they appear on the comma


From: guix-commits
Subject: 02/09: pack: Add packages in the order in which they appear on the command line.
Date: Mon, 16 Sep 2019 04:58:46 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9bbaf2ae72ce8457702f50277fee908d2c43d13c
Author: Ludovic Courtès <address@hidden>
Date:   Fri Sep 13 17:35:08 2019 +0200

    pack: Add packages in the order in which they appear on the command line.
    
    * guix/scripts/pack.scm (guix-pack)[manifest-from-args](packages):
    Reverse order of packages taken from OPTS.
---
 guix/scripts/pack.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index dd91a24..055d6c9 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -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?)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]