summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-13 17:35:08 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-16 10:25:16 +0200
commit9bbaf2ae72ce8457702f50277fee908d2c43d13c (patch)
treefdd738e6fd9fe26008c456103081e081c523d697 /guix
parentec36339dfd2241cd518bb86b6714fc3b340afa95 (diff)
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.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/pack.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index dd91a24284..055d6c95f5 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?)