[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37401] [PATCH 2/2] pack: Add packages in the order in which they ap
From: |
Ludovic Courtès |
Subject: |
[bug#37401] [PATCH 2/2] pack: Add packages in the order in which they appear on the command line. |
Date: |
Fri, 13 Sep 2019 17:51:16 +0200 |
* guix/scripts/pack.scm (guix-pack)[manifest-from-args](packages):
Reverse order of packages taken fro 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 ed8c177055..2543f0c0b5 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -957,7 +957,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?)
--
2.23.0
[bug#37401] [PATCH 1/2] pack: Provide a meaningful "repository name" for Docker., Ricardo Wurmus, 2019/09/13