diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-13 17:35:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-16 10:25:16 +0200 |
commit | 9bbaf2ae72ce8457702f50277fee908d2c43d13c (patch) | |
tree | fdd738e6fd9fe26008c456103081e081c523d697 | |
parent | ec36339dfd2241cd518bb86b6714fc3b340afa95 (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.
-rw-r--r-- | guix/scripts/pack.scm | 3 |
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?) |