[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: kconfig: Mostly preserve keys ordering of original defconfig.
From: |
guix-commits |
Subject: |
03/06: kconfig: Mostly preserve keys ordering of original defconfig. |
Date: |
Tue, 20 Dec 2022 21:32:37 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 1d448662802309b0cb4886afefe8a91c2315ffa0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Dec 20 16:35:37 2022 -0500
kconfig: Mostly preserve keys ordering of original defconfig.
* guix/build/kconfig.scm (defconfig->alist): Reverse the results of lists
constructed with cons.
---
guix/build/kconfig.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/build/kconfig.scm b/guix/build/kconfig.scm
index 192bc17c21..7c1f128ffd 100644
--- a/guix/build/kconfig.scm
+++ b/guix/build/kconfig.scm
@@ -102,10 +102,10 @@ An error is thrown for invalid configurations.
;; The search for duplicates is done.
;; Return the alist or throw an error on duplicates.
(if (null? duplicates)
- alist
+ (reverse alist)
(error
(format #f "duplicate configurations in ~a" defconfig)
- duplicates))
+ (reverse duplicates)))
;; Continue the search for duplicates.
(loop (cdr keys)
(if (member (first keys) (cdr keys))
- branch master updated (b0943d3d2e -> c04528d2a2), guix-commits, 2022/12/20
- 02/06: kconfig: Move pair->config-string up., guix-commits, 2022/12/20
- 01/06: gnu: u-boot-tools: Delete trailing #t., guix-commits, 2022/12/20
- 05/06: gnu: u-boot: Add pkg-config to native inputs., guix-commits, 2022/12/20
- 03/06: kconfig: Mostly preserve keys ordering of original defconfig.,
guix-commits <=
- 04/06: kconfig: Streamline comment in 'modify-defconfig'., guix-commits, 2022/12/20
- 06/06: gnu: u-boot-am335x-evm-boneblack: Fix variable name., guix-commits, 2022/12/20