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.
This commit is contained in:
Ludovic Courtès 2019-09-13 17:35:08 +02:00
parent ec36339dfd
commit 9bbaf2ae72
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -944,7 +944,8 @@ (define (manifest-from-args store opts)
(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?)